3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pos = strpos('PHP 5.6.10', phpversion()); echo phpversion(); if($pos !== false){ print "<pre>"; $arr = timezone_abbreviations_list(); print_r(array_keys($arr)); die; } ?>

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)
7.4.00.0070.01114.97
7.3.120.0080.00814.70
7.3.110.0120.00414.45
7.3.100.0070.00714.68
7.3.90.0060.01214.71
7.3.80.0030.00914.73
7.3.70.0000.01114.71
7.3.60.0070.00714.51
7.3.50.0060.00614.83
7.3.40.0000.01314.79
7.3.30.0000.01114.86
7.3.20.0000.01216.74
7.3.10.0100.00316.77
7.3.00.0000.01416.52
7.2.250.0090.01014.87
7.2.240.0100.01014.62
7.2.230.0060.00914.89
7.2.220.0070.00715.21
7.2.210.0090.00614.89
7.2.200.0000.01014.52
7.2.190.0090.00614.83
7.2.180.0070.00715.12
7.2.170.0000.01415.04
7.2.60.0100.00617.00
7.2.00.0030.00819.14
7.1.330.0070.01015.66
7.1.320.0070.00715.81
7.1.310.0040.01515.44
7.1.300.0070.00715.82
7.1.290.0060.00615.90
7.1.280.0040.00815.61
7.1.270.0070.00715.89
7.1.260.0070.00315.41
7.1.100.0060.00617.82
7.1.70.0000.00716.88
7.1.60.0130.00620.03
7.1.50.0060.01616.54
7.1.00.0070.07322.54
7.0.200.0000.01016.54
7.0.60.0100.07019.94
7.0.50.0000.08717.91
7.0.40.0070.08320.08
7.0.30.0200.06320.09
7.0.20.0370.08020.33
7.0.10.0230.05719.99
7.0.00.0130.04020.08
5.6.280.0000.05720.89
5.6.210.0070.04320.50
5.6.200.0070.05318.12
5.6.190.0070.06320.67
5.6.180.0030.08320.41
5.6.170.0300.08020.71
5.6.160.0100.06720.49
5.6.150.0070.05718.12
5.6.140.0000.04318.09
5.6.130.0100.06018.11
5.6.120.0030.08720.99
5.6.110.0100.08321.09
5.6.100.0200.07322.52
5.6.90.0070.08020.95
5.6.80.0070.07320.43
5.6.70.4430.04020.36
5.5.350.0030.05720.47
5.5.340.0030.05317.98
5.5.330.0100.04720.19
5.5.320.0530.06020.20
5.5.310.0200.05720.15
5.5.300.0130.07717.91
5.5.290.0070.06717.92
5.5.280.0070.04720.80
5.5.270.0100.08320.76
5.5.260.0100.07320.95
5.5.250.0100.07720.66
5.5.240.0000.07320.23
5.4.450.0430.06319.12
5.4.440.0600.05019.11
5.4.430.0430.06719.43
5.4.420.0530.05319.48
5.4.410.0470.05319.30
5.4.400.0500.05019.14
5.4.390.0530.05019.24
5.4.380.0500.05019.21
5.4.370.0500.05719.24
5.4.360.0470.06019.19
5.4.350.0500.05319.12
5.4.340.0670.05019.16
5.4.320.0600.06019.05
5.4.310.0670.06319.20
5.4.300.0630.05019.05
5.4.290.0470.06319.11
5.4.280.0530.05019.15
5.4.270.0570.06719.18
5.4.260.0570.05718.96
5.4.250.0530.06319.17
5.4.240.0530.05719.08
5.4.230.0570.05319.11
5.4.220.0630.05719.23
5.4.210.0800.06319.28
5.4.200.0670.06019.18
5.4.190.0670.06019.16
5.4.180.0630.06319.17
5.4.170.0630.05719.10
5.4.160.0830.07019.04
5.4.150.0570.06318.97
5.4.140.0600.06316.48
5.4.130.0400.06316.32
5.4.120.0700.04316.32
5.4.110.0630.05716.45
5.4.100.0730.05716.21
5.4.90.0830.05716.45
5.4.80.0700.03716.43
5.4.70.0030.03316.39
5.4.60.0030.07016.36
5.4.50.0000.06016.36
5.4.40.0000.03316.04
5.4.30.0330.04316.39
5.4.20.0300.07016.45
5.4.10.0070.05716.36

preferences:
34.68 ms | 401 KiB | 5 Q