3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pos = strpos('PHP 5.6.10', phpversion()); $pos_old = strpos('5.5.9', phpversion()); $arr_new = array(); $arr_old = array(); if($pos !== false){ $arr = timezone_abbreviations_list(); $i=1; foreach($arr as $key => $a){ foreach($a as $index => $value){ if($i > 1435){ echo $i.'. Abbrevation : '.$key.', offset : '.$value['offset'].', timezone : '.$value['timezone_id']; echo "\n"; } $i++; } } } ?>

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.2.00.0040.01119.44
7.1.100.0000.01318.18
7.1.70.0000.00816.95
7.1.60.0030.02220.03
7.1.50.0100.01316.68
7.1.00.0100.07022.51
7.0.200.0140.00714.93
7.0.60.0070.04019.96
7.0.50.0000.08317.89
7.0.40.0070.04720.27
7.0.30.0500.03720.21
7.0.20.0130.05020.27
7.0.10.0070.08320.16
7.0.00.0130.05320.17
5.6.280.0100.06721.04
5.6.210.0070.08320.64
5.6.200.0030.05318.22
5.6.190.0030.04720.63
5.6.180.4130.04020.41
5.6.170.0270.08020.34
5.6.160.0070.04720.51
5.6.150.0030.08718.19
5.6.140.0130.06018.18
5.6.130.0100.04318.11
5.6.120.0030.04321.00
5.6.110.0070.08721.03
5.6.100.0200.07722.51
5.6.90.0100.07721.12
5.6.80.0130.04320.54
5.6.70.3800.04020.48
5.5.350.0330.07320.44
5.5.340.0030.08717.92
5.5.330.0070.05720.36
5.5.320.0430.06020.24
5.5.310.0270.04020.28
5.5.300.0130.07317.91
5.5.290.0070.05717.89
5.5.280.0070.04020.77
5.5.270.0070.06720.96
5.5.260.0070.05320.77
5.5.250.0100.06720.68
5.5.240.0200.07720.26
5.4.450.0600.06019.64
5.4.440.0570.04719.58
5.4.430.0530.06019.60
5.4.420.0670.05719.45
5.4.410.0470.05719.30
5.4.400.0570.05319.27
5.4.390.0630.05019.22
5.4.380.0530.05019.15
5.4.370.0530.05019.27
5.4.360.0400.05719.12
5.4.350.0670.05318.93
5.4.340.0700.06318.78
5.4.320.0630.05719.20
5.4.310.0630.05319.30
5.4.300.0600.05318.77
5.4.290.0770.05318.94
5.4.280.0500.06319.16
5.4.270.0530.06719.12
5.4.260.0570.05319.17
5.4.250.0530.06018.81
5.4.240.0770.05318.76
5.4.230.0700.05018.99
5.4.220.0700.04719.00
5.4.210.0700.04019.30
5.4.200.0700.04719.13
5.4.190.0670.04719.15
5.4.180.0530.04318.90
5.4.170.0470.05318.94
5.4.160.0400.05719.28
5.4.150.0470.05318.99
5.4.140.0570.05016.49
5.4.130.0670.05316.45
5.4.120.0670.06016.44
5.4.110.0600.05016.47
5.4.100.0630.05016.36
5.4.90.0530.05716.46
5.4.80.0570.05016.52
5.4.70.0000.03316.20
5.4.60.0300.05316.21
5.4.50.0070.07016.18
5.4.40.0370.04316.34
5.4.30.0300.06016.41
5.4.20.0230.04016.38

preferences:
31.37 ms | 400 KiB | 5 Q