3v4l.org

run code in 300+ PHP versions simultaneously
<?php A= 7; B = 6; C= a+b; Echo c; >?

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.270.0200.04018.99
5.4.260.0070.07718.84
5.4.250.0100.05018.97
5.4.240.0130.04718.94
5.4.230.0100.07018.77
5.4.220.0100.05719.00
5.4.210.0200.05318.84
5.4.200.0170.04318.76
5.4.190.0100.07319.02
5.4.180.0100.06018.98
5.4.170.0170.05318.65
5.4.160.0270.05718.78
5.4.150.0070.05718.93
5.4.140.0130.04716.44
5.4.130.0130.06016.54
5.4.120.0100.05716.40
5.4.110.0030.07016.49
5.4.100.0100.05316.66
5.4.90.0170.04316.41
5.4.80.0130.05316.33
5.4.70.0170.06016.46
5.4.60.0030.05316.37
5.4.50.0070.05016.46
5.4.40.0130.06316.36
5.4.30.0100.05016.30
5.4.20.0130.04716.44
5.4.10.0070.05716.62
5.4.00.0130.06315.84
5.3.280.0000.06014.48
5.3.270.0070.06014.70
5.3.260.0070.06014.46
5.3.250.0130.04314.61
5.3.240.0130.04314.62
5.3.230.0130.05314.44
5.3.220.0130.04714.72
5.3.210.0100.05314.57
5.3.200.0130.06314.61
5.3.190.0130.04714.42
5.3.180.0130.05014.48
5.3.170.0170.04014.41
5.3.160.0100.04314.47
5.3.150.0030.06314.61
5.3.140.0130.04014.55
5.3.130.0030.05314.64
5.3.120.0100.05714.41
5.3.110.0070.05714.32
5.3.100.0130.06313.73
5.3.90.0070.05013.71
5.3.80.0100.04313.87
5.3.70.0100.04713.89
5.3.60.0030.05313.99
5.3.50.0100.04713.96
5.3.40.0030.05314.10
5.3.30.0130.04713.76
5.3.20.0030.06013.61
5.3.10.0130.05313.66
5.3.00.0030.05313.52
5.2.170.0000.04711.07
5.2.160.0000.04311.16
5.2.150.0170.04710.97
5.2.140.0000.04311.15
5.2.130.0070.05311.10
5.2.120.0100.03310.98
5.2.110.0000.04711.11
5.2.100.0100.05311.20
5.2.90.0030.05011.03
5.2.80.0030.04310.97
5.2.70.0100.03711.20
5.2.60.0070.04711.20
5.2.50.0070.04011.05
5.2.40.0030.04011.00
5.2.30.0030.04310.86
5.2.20.0030.04010.97
5.2.10.0070.03710.94
5.2.00.0100.03710.65
5.1.60.0070.0339.76
5.1.50.0000.0409.84
5.1.40.0130.03710.21
5.1.30.0170.03710.41
5.1.20.0030.05310.42
5.1.10.0000.0539.95
5.1.00.0070.04710.13
5.0.50.0100.0238.47
5.0.40.0000.0308.43
5.0.30.0130.0507.99
5.0.20.0030.0378.02
5.0.10.0000.0308.00
5.0.00.0030.0538.21
4.4.90.0000.0236.62
4.4.80.0030.0206.62
4.4.70.0000.0236.62
4.4.60.0100.0206.62
4.4.50.0070.0206.62
4.4.40.0030.0406.62
4.4.30.0100.0176.62
4.4.20.0100.0176.62
4.4.10.0030.0206.62
4.4.00.0000.0406.62
4.3.110.0000.0236.62
4.3.100.0030.0306.62
4.3.90.0000.0206.62
4.3.80.0000.0336.62
4.3.70.0070.0276.62
4.3.60.0100.0206.62
4.3.50.0030.0276.62
4.3.40.0000.0476.62
4.3.30.0000.0236.62
4.3.20.0030.0206.62
4.3.10.0070.0176.62
4.3.00.0000.0237.13

preferences:
142.84 ms | 1394 KiB | 7 Q