3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php interface iInherit { public function inheritMe(); } abstract class InheritBase implements iInherit { abstract public function inheritMe(); } class Child extends InheritBase { public function inheritMe() { } }

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).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.2.00.0000.01219.24
7.1.100.0030.00618.22
7.1.70.0000.00717.04
7.1.60.0110.01419.50
7.1.50.0140.01017.00
7.1.00.0000.08022.44
7.0.200.0160.00614.59
7.0.140.0030.07321.95
7.0.110.0530.07020.07
7.0.100.0400.06020.05
7.0.90.0600.08719.96
7.0.80.0500.04719.83
7.0.70.0530.04319.83
7.0.60.0500.06319.95
7.0.50.0470.03720.00
7.0.40.0030.04019.73
7.0.30.0070.04019.79
7.0.20.0170.08719.80
7.0.10.0030.04319.84
7.0.00.0030.08019.73
5.6.280.0070.06721.10
5.6.260.0030.04320.70
5.6.250.0030.04020.75
5.6.240.0000.05720.67
5.6.230.0030.07720.69
5.6.220.0030.04720.55
5.6.210.0030.04020.71
5.6.200.0130.03020.60
5.6.190.0100.04020.46
5.6.180.0070.08020.66
5.6.170.0100.08020.59
5.6.160.0130.06720.61
5.6.150.0070.06320.70
5.6.140.0100.06720.69
5.6.130.0000.04020.61
5.6.120.0030.07320.64
5.6.110.0130.07020.64
5.6.100.0000.05020.49
5.6.90.0000.04320.59
5.6.80.0130.04020.04
5.6.70.0000.08319.94
5.6.60.0000.04020.22
5.6.50.0100.06320.01
5.6.40.0070.06320.05
5.6.30.0130.04320.00
5.6.20.0030.05020.21
5.6.10.0030.08319.91
5.6.00.0070.07319.82
5.5.380.0070.07317.70
5.5.370.0070.03317.73
5.5.360.0100.07317.58
5.5.350.0030.06317.54
5.5.340.0070.05017.93
5.5.330.0030.03317.89
5.5.320.0030.04017.83
5.5.310.0000.04017.93
5.5.300.0130.02717.83
5.5.290.0000.06718.12
5.5.280.0200.03018.09
5.5.270.0070.03718.26
5.5.260.0030.07018.04
5.5.250.0030.05317.94
5.5.240.0070.08017.21
5.5.230.0030.04317.51
5.5.220.0070.05717.42
5.5.210.0030.05017.47
5.5.200.0030.04017.29
5.5.190.0070.07317.26
5.5.180.0030.07017.45
5.5.160.0100.07717.26
5.5.150.0100.04717.18
5.5.140.0000.06717.30
5.5.130.0030.03317.47
5.5.120.0030.04717.57
5.5.110.0030.07017.27
5.5.100.0030.05717.48
5.5.90.0100.04017.20
5.5.80.0100.06317.34
5.5.70.0030.04017.15
5.5.60.0000.06717.17
5.5.50.0030.03717.21
5.5.40.0070.04717.33
5.5.30.0200.05017.07
5.5.20.0070.06717.46
5.5.10.0070.03317.15
5.5.00.0100.06317.16
5.4.450.0070.06719.34
5.4.440.0000.06019.46
5.4.430.0070.06019.30
5.4.420.0030.04019.30
5.4.410.0030.04019.15
5.4.400.0130.06719.18
5.4.390.0030.04719.14
5.4.380.0070.04018.98
5.4.370.0070.05319.19
5.4.360.0030.04718.98
5.4.350.0070.06319.18
5.4.340.0130.06719.25
5.4.320.0130.07719.03
5.4.310.0100.05719.24
5.4.300.0030.03719.02
5.4.290.0000.04718.99
5.4.280.0030.07719.00
5.4.270.0030.03319.31
5.4.260.0030.07719.21
5.4.250.0030.07018.98
5.4.240.0030.07019.18
5.4.230.0100.07319.03
5.4.220.0030.04019.30
5.4.210.0070.03019.13
5.4.200.0000.08319.00
5.4.190.0030.06719.32
5.4.180.0000.08319.16
5.4.170.0200.06019.10
5.4.160.0030.03719.29
5.4.150.0070.03318.97
5.4.140.0070.05716.41
5.4.130.0000.05016.44
5.4.120.0100.06316.64
5.4.110.0000.08316.43
5.4.100.0030.07716.52
5.4.90.0030.05016.53
5.4.80.0030.05016.50
5.4.70.0130.06716.46
5.4.60.0100.07016.41
5.4.50.0030.07316.39
5.4.40.0100.03716.59
5.4.30.0030.03316.29
5.4.20.0030.03316.38
5.4.10.0000.05316.55
5.4.00.0100.02715.91
5.3.290.0070.03014.80
5.3.280.0070.05314.60
5.3.270.0000.04014.70
5.3.260.0030.03714.63
5.3.250.0000.07314.73
5.3.240.0100.03714.57
5.3.230.0070.06014.59
5.3.220.0030.08014.60
5.3.210.0030.07714.70
5.3.200.0000.08014.58
5.3.190.0030.04714.60
5.3.180.0100.05014.59
5.3.170.0070.03714.56
5.3.160.0100.06314.55
5.3.150.0100.06014.58
5.3.140.0000.09714.57
5.3.130.0030.03714.55
5.3.120.0130.06014.68
5.3.110.0000.03714.54
5.3.100.0000.04014.05
5.3.90.0000.04314.15
5.3.80.0000.04014.02
5.3.70.0030.06714.17
5.3.60.0000.03713.95
5.3.50.0100.03014.02
5.3.40.0000.04713.92
5.3.30.0070.03014.14
5.3.20.0070.06013.92
5.3.10.0030.03013.63
5.3.00.0070.05713.86
5.2.170.0070.05311.98
5.2.160.0030.02711.98
5.2.150.0030.03311.98
5.2.140.0030.05711.98
5.2.130.0030.03011.98
5.2.120.0000.03311.98
5.2.110.0070.02711.98
5.2.100.0100.05311.98
5.2.90.0000.05311.98
5.2.80.0000.04711.98
5.2.70.0030.06311.98
5.2.60.0130.05711.98
5.2.50.0030.06311.98
5.2.40.0070.04311.98
5.2.30.0030.03011.98
5.2.20.0000.03011.98
5.2.10.0070.02711.98
5.2.00.0000.04711.98
5.1.60.0030.04711.98
5.1.50.0030.03311.98
5.1.40.0000.03011.98
5.1.30.0000.04011.98
5.1.20.0100.02011.98
5.1.10.0130.06011.98
5.1.00.0070.04711.98
5.0.50.0000.02311.98
5.0.40.0030.03311.98
5.0.30.0070.02711.98
5.0.20.0130.02011.98
5.0.10.0000.02711.98
5.0.00.0070.06311.98
4.4.90.0070.02011.98
4.4.80.0000.03711.98
4.4.70.0130.02311.98
4.4.60.0030.02311.98
4.4.50.0000.03011.98
4.4.40.0030.04711.98
4.4.30.0030.01711.98
4.4.20.0100.00711.98
4.4.10.0030.02711.98
4.4.00.0030.03311.98
4.3.110.0000.02311.98
4.3.100.0070.03311.98
4.3.90.0030.03311.98
4.3.80.0030.03011.98
4.3.70.0100.01711.98
4.3.60.0000.03711.98
4.3.50.0000.01711.98
4.3.40.0030.02311.98
4.3.30.0000.03011.98
4.3.20.0000.02011.98
4.3.10.0000.03011.98
4.3.00.0000.01711.98