3v4l.org

run code in 200+ php & hhvm versions
<?php interface Foo { public function bar(); } class Baz implements Foo { public function bar($args = null ) { var_dump('määäh'); } } $baz = new Baz; $baz->bar();
based on 001C5

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.3.10.0120.00615.95
7.3.00.0060.00616.13
7.2.130.0030.01316.12
7.2.120.0060.00616.43
7.2.110.0090.00616.21
7.2.100.0100.00616.59
7.2.90.0030.00916.33
7.2.80.0140.00416.61
7.2.70.0170.01216.33
7.2.60.0140.01416.59
7.2.50.0100.00616.13
7.2.40.0090.00916.65
7.2.30.0200.00816.50
7.2.20.0150.00816.31
7.2.10.0100.01316.56
7.2.00.0070.00617.76
7.1.250.0060.01215.30
7.1.100.0030.01018.00
7.1.70.0060.00316.94
7.1.60.0040.02219.32
7.1.50.0040.01116.86
7.1.00.0070.07322.37
7.0.200.0030.00716.65
7.0.140.0030.07322.02
7.0.60.0000.04319.89
7.0.50.0030.07717.87
7.0.40.0270.04320.40
7.0.30.0230.05320.06
7.0.20.0170.05720.07
7.0.10.0100.08320.30
7.0.00.0070.09320.29
5.6.280.0000.07721.11
5.6.210.0000.04720.50
5.6.200.0030.07718.13
5.6.190.0130.04020.61
5.6.180.0500.07320.59
5.6.170.0300.07320.50
5.6.160.0070.08020.54
5.6.150.0070.08718.17
5.6.140.0100.03318.17
5.6.130.0170.05018.24
5.6.120.0200.05321.14
5.6.110.0030.06321.09
5.6.100.0030.04720.99
5.6.90.0170.07321.00
5.6.80.0030.04020.39
5.5.350.0000.08320.34
5.5.340.0170.07317.92
5.5.330.0100.09020.19
5.5.320.0000.07020.27
5.5.310.0200.04320.26
5.5.300.0130.05018.08
5.5.290.0100.07717.98
5.5.280.0100.06020.77
5.5.270.0030.07320.89
5.5.260.0070.08020.80
5.5.250.0130.06320.59
5.5.240.0200.07320.14
5.4.450.0370.05019.47
5.4.440.0570.03019.55
5.4.430.0370.05019.26
5.4.420.0330.03719.38
5.4.410.0430.03719.51
5.4.400.0370.04719.17
5.4.390.0370.03719.14
5.4.380.0370.05019.10
5.4.370.0430.05019.09
5.4.360.0530.04318.87
5.4.350.0470.04319.09
5.4.340.0430.06019.16
5.4.320.0330.04719.06
5.4.310.0400.03718.98
5.4.300.0400.04019.22
5.4.290.0330.05319.16
5.4.280.0300.03318.99
5.4.270.0330.03319.16
5.4.260.0400.07019.24
5.4.250.0330.03319.21
5.4.240.0470.05019.05
5.4.230.0530.06318.85
5.4.220.0530.06019.14
5.4.210.0470.04319.15
5.4.200.0430.04719.20
5.4.190.0400.03319.15
5.4.180.0370.04018.98
5.4.170.0430.06719.14
5.4.160.0470.06018.83
5.4.150.0530.06719.29
5.4.140.0430.06716.36
5.4.130.0400.05716.37
5.4.120.0530.05016.50
5.4.110.0270.04316.55
5.4.100.0400.06316.29
5.4.90.0370.03316.54
5.4.80.0470.06316.52
5.4.70.0430.03316.55
5.4.60.0500.05716.43
5.4.50.0270.04316.52
5.4.40.0500.04016.16
5.4.30.0300.03316.56
5.4.20.0330.05316.42
5.4.10.0170.06316.32
5.4.00.0130.06315.78
5.3.290.0270.05014.68
5.3.280.0470.06014.81
5.3.270.0470.06014.58
5.3.260.0470.03314.68
5.3.250.0470.06714.60
5.3.240.0400.04314.68
5.3.230.0430.05714.68
5.3.220.0500.05014.47
5.3.210.0400.05714.57
5.3.200.0370.06714.54
5.3.190.0430.06714.64
5.3.180.0300.04314.55
5.3.170.0470.04714.48
5.3.160.0470.06014.54
5.3.150.0470.03714.56
5.3.140.0370.07014.48
5.3.130.0470.04714.55
5.3.120.0370.07014.60
5.3.110.0330.05714.45
5.3.100.0270.02713.94
5.3.90.0200.07714.01
5.3.80.0330.06713.94
5.3.70.0400.03713.95
5.3.60.0330.03714.01
5.3.50.0370.07014.11
5.3.40.0400.07313.88
5.3.30.0370.05013.98
5.3.20.0300.03713.77
5.3.10.0370.04313.57
5.3.00.0270.03713.65
5.2.170.0230.04311.07
5.2.160.0370.03311.09
5.2.150.0370.04711.28
5.2.140.0330.03311.05
5.2.130.0200.03311.02
5.2.120.0270.02711.09
5.2.110.0270.03311.02
5.2.100.0300.02311.11
5.2.90.0330.03311.11
5.2.80.0300.03311.26
5.2.70.0270.02711.07
5.2.60.0230.03011.13
5.2.50.0230.03011.13
5.2.40.0270.03011.16
5.2.30.0230.02711.20
5.2.20.0230.03310.94
5.2.10.0230.04010.84
5.2.00.0270.05710.72
5.1.60.0370.03710.15
5.1.50.0300.0279.98
5.1.40.0370.03310.06
5.1.30.0200.03310.45
5.1.20.0300.05010.26
5.1.10.0370.02310.21
5.1.00.0300.03710.06
5.0.50.0170.0178.83
5.0.40.0200.0178.83
5.0.30.0170.0278.83
5.0.20.0170.0238.83
5.0.10.0200.0208.83
5.0.00.0230.0438.83
4.4.90.0100.0178.83
4.4.80.0070.0178.83
4.4.70.0130.0338.83
4.4.60.0130.0208.83
4.4.50.0170.0238.83
4.4.40.0130.0378.83
4.4.30.0130.0138.83
4.4.20.0300.0138.83
4.4.10.0200.0138.83
4.4.00.0200.0338.83
4.3.110.0100.0178.83
4.3.100.0170.0208.83
4.3.90.0200.0108.83
4.3.80.0170.0478.83
4.3.70.0170.0278.83
4.3.60.0130.0308.83
4.3.50.0200.0308.83
4.3.40.0130.0378.83
4.3.30.0130.0308.83
4.3.20.0100.0178.83
4.3.10.0100.0338.83
4.3.00.0070.0208.83