3v4l.org

run code in 300+ PHP versions simultaneously
<?php $w = 'wonderous'; $z = 'a thing of beauty is ' . strtoupper($w); $o = new stdClass; $o["p"] = $z; echo "{$o['p']}\n"; echo $o["p"],"\n";

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0120.00316.75
8.3.50.0170.00316.59
8.3.40.0060.00918.80
8.3.30.0080.00618.97
8.3.20.0070.00020.37
8.3.10.0030.00523.69
8.3.00.0050.00223.70
8.2.180.0160.00618.66
8.2.170.0090.00922.96
8.2.160.0090.00420.52
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0080.00019.82
8.2.120.0000.00826.35
8.2.110.0030.00719.33
8.2.100.0040.00717.84
8.2.90.0040.00419.26
8.2.80.0080.00017.97
8.2.70.0130.00617.13
8.2.60.0080.00017.80
8.2.50.0030.00518.07
8.2.40.0050.00320.64
8.2.30.0000.00719.50
8.2.20.0060.00317.75
8.2.10.0090.00018.18
8.2.00.0000.00718.13
8.1.280.0110.00425.92
8.1.270.0110.00723.96
8.1.260.0090.00028.09
8.1.250.0040.00428.09
8.1.240.0040.00821.25
8.1.230.0080.00417.52
8.1.220.0030.00517.74
8.1.210.0050.00318.77
8.1.200.0030.00617.35
8.1.190.0040.00417.22
8.1.180.0040.00418.10
8.1.170.0080.00018.48
8.1.160.0030.00520.62
8.1.150.0040.00418.79
8.1.140.0080.00019.52
8.1.130.0040.00419.16
8.1.120.0040.00417.33
8.1.110.0000.00717.38
8.1.100.0040.00417.43
8.1.90.0080.00017.27
8.1.80.0000.00917.43
8.1.70.0000.00717.38
8.1.60.0040.00417.41
8.1.50.0000.00817.51
8.1.40.0030.00517.54
8.1.30.0000.00917.63
8.1.20.0000.00817.69
8.1.10.0040.00417.48
8.1.00.0000.00717.37
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0000.00718.31
8.0.270.0030.00317.24
8.0.260.0000.00716.89
8.0.250.0000.00717.04
8.0.240.0030.00317.04
8.0.230.0070.00016.91
8.0.220.0000.00716.86
8.0.210.0030.00316.86
8.0.200.0060.00317.08
8.0.190.0040.00416.99
8.0.180.0040.00416.87
8.0.170.0000.00816.94
8.0.160.0030.00316.95
8.0.150.0040.00416.85
8.0.140.0060.00316.94
8.0.130.0040.00413.34
8.0.120.0040.00416.97
8.0.110.0040.00416.73
8.0.100.0000.00716.79
8.0.90.0070.00016.85
8.0.80.0030.01216.78
8.0.70.0040.00416.84
8.0.60.0040.00316.96
8.0.50.0040.00416.84
8.0.30.0080.00817.17
8.0.20.0130.00717.40
8.0.10.0030.00517.04
8.0.00.0080.01116.71
7.4.330.0020.00216.71
7.4.320.0030.00316.55
7.4.300.0000.00716.65
7.4.290.0070.00416.59
7.4.280.0100.00016.49
7.4.270.0000.00716.54
7.4.260.0070.00016.59
7.4.250.0040.00416.50
7.4.240.0040.00316.55
7.4.230.0000.00716.58
7.4.220.0060.01216.54
7.4.210.0040.00916.70
7.4.200.0030.00316.61
7.4.160.0070.01016.31
7.4.150.0120.00617.40
7.4.140.0110.00817.86
7.4.130.0140.00316.60
7.4.120.0060.01216.47
7.4.110.0100.00716.61
7.4.100.0130.00616.53
7.4.90.0090.01216.42
7.4.80.0090.00919.39
7.4.70.0120.00616.69
7.4.60.0090.00916.49
7.4.50.0060.00916.71
7.4.40.0060.01216.61
7.4.30.0030.01816.43
7.4.00.0070.00714.80
7.3.330.0030.00313.22
7.3.320.0030.00313.31
7.3.310.0050.00216.38
7.3.300.0000.00716.23
7.3.290.0080.00916.37
7.3.280.0080.00916.36
7.3.270.0030.01317.40
7.3.260.0090.00916.37
7.3.240.0090.00816.33
7.3.230.0110.00816.51
7.3.210.0110.00716.66
7.3.200.0030.01319.39
7.3.190.0100.00716.43
7.3.180.0060.00916.45
7.3.170.0100.01016.43
7.3.160.0060.01016.63
7.2.330.0110.00716.62
7.2.320.0060.01216.68
7.2.310.0090.00916.42
7.2.300.0130.00316.66
7.2.290.0150.00316.43
7.2.60.0100.00316.83
7.2.00.0000.01319.25
7.1.200.0030.00815.69
7.1.100.0000.01218.32
7.1.70.0030.00617.26
7.1.60.0100.01619.30
7.1.50.0070.01416.99
7.1.00.0000.07722.57
7.0.200.0060.00316.91
7.0.60.0200.08021.82
7.0.50.0100.07317.84
7.0.40.0130.03320.03
7.0.30.0370.07020.21
7.0.20.0270.08020.04
7.0.10.0100.08720.20
7.0.00.0000.04720.01
5.6.280.0000.03320.82
5.6.210.0070.07320.50
5.6.200.0030.04318.11
5.6.190.0170.08020.42
5.6.180.0430.07320.35
5.6.170.0400.04320.41
5.6.160.0070.04020.54
5.6.150.0130.04718.09
5.6.140.0070.07718.15
5.6.130.0130.07018.22
5.6.120.0030.09021.11
5.6.110.0170.04721.05
5.6.100.0100.05720.95
5.6.90.0130.05321.10
5.6.80.0070.05020.38
5.5.350.0200.08020.43
5.5.340.0100.04017.95
5.5.330.0030.05020.25
5.5.320.0200.05020.21
5.5.310.0200.03720.23
5.5.300.0030.04317.96
5.5.290.0100.07718.00
5.5.280.0130.04020.79
5.5.270.0030.04020.86
5.5.260.0130.07720.76
5.5.250.0070.07320.66
5.5.240.0200.07320.25

preferences:
37.78 ms | 400 KiB | 5 Q