3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class a { abstact function x(); } class b extends a { function x() { print "gnu"; } } $b = new b; $b->x();

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.04319.00
5.4.260.0100.06018.95
5.4.250.0100.05019.00
5.4.240.0200.04318.83
5.4.230.0030.06319.02
5.4.220.0130.05018.94
5.4.210.0100.05018.96
5.4.200.0030.05318.79
5.4.190.0030.06018.99
5.4.180.0070.05718.64
5.4.170.0070.05318.96
5.4.160.0070.05719.01
5.4.150.0030.05719.00
5.4.140.0030.08016.41
5.4.130.0200.06316.59
5.4.120.0100.06716.55
5.4.110.0070.05716.33
5.4.100.0130.05316.36
5.4.90.0130.05316.47
5.4.80.0170.04716.36
5.4.70.0200.05716.37
5.4.60.0100.07016.34
5.4.50.0070.06316.63
5.4.40.0130.05316.41
5.4.30.0100.06716.44
5.4.20.0070.05016.38
5.4.10.0230.07016.62
5.4.00.0100.05316.06
5.3.280.0100.05014.81
5.3.270.0170.04314.69
5.3.260.0130.05014.68
5.3.250.0000.06014.58
5.3.240.0130.07014.76
5.3.230.0030.05314.61
5.3.220.0000.06314.55
5.3.210.0130.05314.57
5.3.200.0100.04714.47
5.3.190.0070.05714.46
5.3.180.0070.05014.78
5.3.170.0170.06714.57
5.3.160.0100.04714.46
5.3.150.0070.05714.75
5.3.140.0100.06714.71
5.3.130.0000.07014.61
5.3.120.0030.08014.64
5.3.110.0070.08714.56
5.3.100.0100.06314.02
5.3.90.0130.04713.91
5.3.80.0030.05714.04
5.3.70.0000.06714.02
5.3.60.0170.06313.99
5.3.50.0070.05013.78
5.3.40.0030.05313.85
5.3.30.0070.05013.89
5.3.20.0070.05313.77
5.3.10.0030.06713.47
5.3.00.0030.06313.62
5.2.170.0030.05011.30
5.2.160.0100.03711.31
5.2.150.0170.04711.12
5.2.140.0100.05711.09
5.2.130.0070.05311.18
5.2.120.0100.05311.25
5.2.110.0030.04311.19
5.2.100.0100.05011.04
5.2.90.0070.05011.00
5.2.80.0070.04711.14
5.2.70.0070.04011.05
5.2.60.0170.04311.05
5.2.50.0070.03711.19
5.2.40.0070.04310.96
5.2.30.0130.04310.92
5.2.20.0070.04010.94
5.2.10.0030.04710.68
5.2.00.0070.06010.80
5.1.60.0100.04310.07
5.1.50.0000.0379.98
5.1.40.0170.03710.21
5.1.30.0030.05010.32
5.1.20.0070.04310.33
5.1.10.0100.04310.26
5.1.00.0100.03310.21
5.0.50.0000.0338.60
5.0.40.0030.0338.47
5.0.30.0000.0578.20
5.0.20.0000.0408.22
5.0.10.0000.0408.25
5.0.00.0030.0438.30
4.4.90.0030.0235.70
4.4.80.0030.0235.79
4.4.70.0070.0205.73
4.4.60.0030.0306.25
4.4.50.0030.0276.25
4.4.40.0030.0336.25
4.4.30.0100.0136.25
4.4.20.0100.0176.25
4.4.10.0000.0276.25
4.4.00.0030.0336.25
4.3.110.0000.0306.25
4.3.100.0200.0236.25
4.3.90.0070.0236.25
4.3.80.0000.0476.25
4.3.70.0000.0306.25
4.3.60.0070.0176.25
4.3.50.0100.0236.25
4.3.40.0000.0336.25
4.3.30.0000.0236.25
4.3.20.0000.0236.25
4.3.10.0030.0276.25
4.3.00.0130.0207.07

preferences:
138.11 ms | 1394 KiB | 7 Q