3v4l.org

run code in 300+ PHP versions simultaneously
<?php $thing = function() { return "thing value"; } echo $thing; // expected to be "thing value", but in real life, ""

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.140.0170.07018.21
5.6.130.0070.06018.11
5.6.120.0100.05721.12
5.6.110.0100.07320.98
5.6.100.0270.05021.10
5.6.90.0070.08721.02
5.6.80.0030.04020.48
5.5.300.0130.07017.94
5.5.290.0070.04318.08
5.5.280.0070.07320.98
5.5.270.0070.08320.96
5.5.260.0000.04320.65
5.5.250.0000.04320.77
5.5.240.0100.04720.16
5.4.450.0600.05319.62
5.4.440.0600.05319.48
5.4.430.0570.05719.20
5.4.420.0800.05019.58
5.4.410.0800.05319.47
5.4.400.0830.06719.02
5.4.390.0770.05019.28
5.4.380.0700.06718.84
5.4.370.0570.05319.06
5.4.360.0530.05018.88
5.4.350.0170.05019.15
5.4.340.0200.06318.84
5.4.320.0670.05718.89
5.4.310.0500.07719.06
5.4.300.0230.07719.25
5.4.290.0100.07019.15
5.4.280.0530.04718.84
5.4.270.0530.06019.30
5.4.260.0270.04719.36
5.4.250.0170.04719.14
5.4.240.0230.05019.30
5.4.230.0470.05719.14
5.4.220.0600.05719.00
5.4.210.0700.05719.13
5.4.200.0800.05019.25
5.4.190.0730.04719.27
5.4.180.0530.05319.27
5.4.170.0600.05719.13
5.4.160.0800.05019.03
5.4.150.0570.06019.25
5.4.140.0600.06016.39
5.4.130.0630.05316.36
5.4.120.0800.06716.47
5.4.110.0630.05316.57
5.4.100.0600.06016.25
5.4.90.0630.04716.60
5.4.80.0470.06316.65
5.4.70.0230.06716.43
5.4.60.0130.05016.25
5.4.50.0330.05716.34
5.4.40.0100.03716.52
5.4.30.0400.05016.52
5.4.20.0130.04716.33
5.4.10.0270.06016.42

preferences:
152.63 ms | 1394 KiB | 7 Q