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.0100.05018.91
5.4.260.0270.04019.10
5.4.250.0030.05719.00
5.4.240.0070.05318.80
5.4.230.0000.08318.80
5.4.220.0100.05319.02
5.4.210.0100.07018.95
5.4.200.0130.04718.95
5.4.190.0130.04718.99
5.4.180.0200.05319.00
5.4.170.0130.05018.90
5.4.160.0070.05018.89
5.4.150.0170.07018.93
5.4.140.0130.05016.40
5.4.130.0100.05716.56
5.4.120.0070.07016.35
5.4.110.0130.06716.57
5.4.100.0130.06016.56
5.4.90.0030.06316.41
5.4.80.0100.07016.54
5.4.70.0100.05016.56
5.4.60.0170.05016.49
5.4.50.0100.04316.60
5.4.40.0200.04716.54
5.4.30.0100.04716.54
5.4.20.0100.05016.59
5.4.10.0130.04716.48
5.4.00.0070.06015.87
5.3.280.0070.05014.37
5.3.270.0100.06314.61
5.3.260.0170.05314.61
5.3.250.0200.04314.49
5.3.240.0200.06014.38
5.3.230.0100.05014.47
5.3.220.0000.06314.43
5.3.210.0100.05014.27
5.3.200.0000.06314.56
5.3.190.0070.05014.66
5.3.180.0170.04014.66
5.3.170.0100.05014.41
5.3.160.0130.04314.58
5.3.150.0100.04714.57
5.3.140.0100.07014.26
5.3.130.0170.04314.46
5.3.120.0070.05314.39
5.3.110.0100.05014.57
5.3.100.0070.05013.88
5.3.90.0100.04714.04
5.3.80.0130.04314.17
5.3.70.0030.05714.04
5.3.60.0070.06313.70
5.3.50.0000.05713.80
5.3.40.0000.05313.98
5.3.30.0130.06313.90
5.3.20.0030.05013.40
5.3.10.0100.05313.70
5.3.00.0000.05313.65
5.2.170.0070.04311.25
5.2.160.0070.04011.14
5.2.150.0200.04011.02
5.2.140.0030.04711.13
5.2.130.0100.04011.00
5.2.120.0130.03011.01
5.2.110.0030.04011.10
5.2.100.0070.04311.11
5.2.90.0000.05711.10
5.2.80.0030.04711.11
5.2.70.0070.04011.02
5.2.60.0200.04711.07
5.2.50.0100.03711.03
5.2.40.0130.03010.77
5.2.30.0070.04010.86
5.2.20.0070.04010.89
5.2.10.0130.03710.93
5.2.00.0130.04010.47
5.1.60.0070.0309.92
5.1.50.0130.04010.23
5.1.40.0100.0309.88
5.1.30.0070.03310.41
5.1.20.0070.04310.19
5.1.10.0130.03710.13
5.1.00.0000.0409.83
5.0.50.0070.0278.50
5.0.40.0000.0308.42
5.0.30.0070.0408.45
5.0.20.0070.0278.27
5.0.10.0030.0378.22
5.0.00.0000.0438.19
4.4.90.0130.0206.62
4.4.80.0100.0236.62
4.4.70.0070.0176.62
4.4.60.0100.0206.62
4.4.50.0030.0206.62
4.4.40.0000.0406.61
4.4.30.0000.0306.61
4.4.20.0030.0306.61
4.4.10.0070.0236.61
4.4.00.0000.0376.61
4.3.110.0000.0236.61
4.3.100.0000.0206.61
4.3.90.0030.0206.61
4.3.80.0030.0376.61
4.3.70.0070.0276.61
4.3.60.0100.0136.61
4.3.50.0000.0236.61
4.3.40.0000.0436.61
4.3.30.0030.0276.61
4.3.20.0000.0276.61
4.3.10.0000.0206.61
4.3.00.0100.0176.70

preferences:
141.71 ms | 1398 KiB | 7 Q