3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "hello world"; for($i=0,$i<=100, $i++) { echo "$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)
5.4.320.3130.03719.15
5.4.310.3170.03718.99
5.4.300.3500.04319.14
5.4.290.3200.04018.97
5.4.280.3170.04319.05
5.4.270.3130.03719.20
5.4.260.3070.03719.08
5.4.250.3030.03019.20
5.4.240.3270.03018.84
5.4.230.3170.04019.29
5.4.220.3030.04019.20
5.4.210.2930.03319.15
5.4.200.2870.03719.21
5.4.190.3200.04019.05
5.4.180.3130.04319.10
5.4.170.3200.03718.96
5.4.160.2800.03319.07
5.4.150.3100.04319.12
5.4.140.1870.04316.72
5.4.130.0030.04716.33
5.4.120.0070.07016.32
5.4.110.0030.07016.51
5.4.100.3070.03716.40
5.4.90.3170.04316.48
5.4.80.3230.03716.57
5.4.70.3230.03316.28
5.4.60.3070.03716.34
5.4.50.3170.03016.48
5.4.40.3030.03716.42
5.4.30.2970.03716.56
5.4.20.3470.05016.21
5.4.10.3000.03316.50
5.4.00.3100.04015.91
5.3.290.3500.05314.61
5.3.280.3230.04014.42
5.3.270.3030.03314.44
5.3.260.3430.04314.46
5.3.250.3100.03314.55
5.3.240.3130.04014.55
5.3.230.2930.03714.44
5.3.220.3000.02714.44
5.3.210.3100.04014.50
5.3.200.3230.03314.39
5.3.190.2970.03714.51
5.3.180.3170.03714.65
5.3.170.3330.04314.65
5.3.160.3200.03714.54
5.3.150.3200.03714.37
5.3.140.3170.03714.64
5.3.130.3330.05014.52
5.3.120.3230.04014.39
5.3.110.2570.03314.39
5.3.100.0070.03713.88
5.3.90.0200.04013.96
5.3.80.0170.03313.89
5.3.70.0130.04013.86
5.3.60.0170.03313.99
5.3.50.0130.03713.77
5.3.40.0130.03713.77
5.3.30.0170.04013.92
5.3.20.0130.03713.48
5.3.10.0200.03013.68
5.3.00.0170.03313.50
5.2.170.0130.03710.98
5.2.160.0170.02311.00
5.2.150.0100.03011.00
5.2.140.0130.03010.98
5.2.130.0170.04011.11
5.2.120.0030.03711.15
5.2.110.0130.02710.93
5.2.100.0070.04311.14
5.2.90.0170.02310.99
5.2.80.0130.02710.93
5.2.70.0130.02711.25
5.2.60.0130.02710.90
5.2.50.0200.03311.06
5.2.40.0030.03310.90
5.2.30.0070.03010.90
5.2.20.0100.03010.80
5.2.10.0130.02710.86
5.2.00.0170.02310.86
5.1.60.0170.02310.00
5.1.50.0130.0209.88
5.1.40.0170.0179.98
5.1.30.0070.03010.41
5.1.20.0130.03010.50
5.1.10.0070.0309.95
5.1.00.0100.0239.96
5.0.50.0100.0178.63
5.0.40.0070.0208.49
5.0.30.0030.0308.38
5.0.20.0030.0278.09
5.0.10.0030.0238.07
5.0.00.0070.0278.24
4.4.90.0030.0175.95
4.4.80.0030.0135.95
4.4.70.0100.0175.95
4.4.60.0030.0175.95
4.4.50.0070.0135.95
4.4.40.0130.0175.95
4.4.30.0030.0305.95
4.4.20.0030.0205.95
4.4.10.0070.0135.95
4.4.00.0030.0275.95
4.3.110.0030.0205.95
4.3.100.0030.0175.95
4.3.90.0030.0175.95
4.3.80.0070.0275.95
4.3.70.0100.0105.95
4.3.60.0030.0175.95
4.3.50.0100.0135.95
4.3.40.0030.0235.95
4.3.30.0030.0205.95
4.3.20.0000.0175.95
4.3.10.0030.0175.95
4.3.00.0070.0105.95

preferences:
142.49 ms | 1394 KiB | 7 Q