3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('zend.assertions', -1 $things = "thing"; $here = "here"; assert( (function() use($things, $here) { /* statements here */ return false; })(), new RuntimeException("nope!")); ?>

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)
5.6.130.0100.05718.11
5.6.120.0130.03720.99
5.6.110.0000.04321.11
5.6.100.0130.06721.11
5.6.90.0070.08020.94
5.6.80.0100.07020.38
5.6.70.3330.04020.27
5.5.290.0070.03717.96
5.5.280.0070.07020.87
5.5.270.0070.08320.75
5.5.260.0100.06320.74
5.5.250.0070.08320.43
5.5.240.0230.06320.19
5.4.450.0970.05019.19
5.4.440.0870.06019.55
5.4.430.0970.04719.21
5.4.420.0930.05019.58
5.4.410.0970.05019.45
5.4.400.0730.05719.29
5.4.390.0730.05019.14
5.4.380.0700.05019.26
5.4.370.0630.06319.12
5.4.360.0670.05718.87
5.4.350.1000.05719.32
5.4.340.0830.06719.12
5.4.320.0730.07019.26
5.4.310.0700.07019.23
5.4.300.0970.04719.14
5.4.290.0830.06019.05
5.4.280.0600.05318.84
5.4.270.0530.06018.97
5.4.260.0570.05719.15
5.4.250.0670.05319.08
5.4.240.0930.05319.04
5.4.230.0600.06319.29
5.4.220.0830.05319.21
5.4.210.0830.05319.25
5.4.200.0730.05719.37
5.4.190.0570.06318.84
5.4.180.0700.05719.27
5.4.170.0700.06319.29
5.4.160.0770.07019.12
5.4.150.0730.06318.84
5.4.140.0800.04716.49
5.4.130.0870.04716.39
5.4.120.0670.05316.37
5.4.110.0870.04316.43
5.4.100.0570.05316.52
5.4.90.0930.04716.52
5.4.80.0800.05016.59
5.4.70.0270.06716.57
5.4.60.0330.06716.51
5.4.50.0100.06716.43
5.4.40.0030.03316.43
5.4.30.0100.06716.53
5.4.20.0030.07016.43

preferences:
129.75 ms | 1398 KiB | 7 Q