3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Test { public static function hello() { echo "Hello"; } } $caller = array('Test', 'hello'); $caller();
based on TkK2S

Here you find the average performance (time & memory) of each version. A greyed 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.0030.01019.04
7.1.100.0030.00717.99
7.1.70.0020.00516.91
7.1.60.0200.00319.50
7.1.50.0120.00916.79
7.1.00.0070.07322.31
7.0.200.0040.00714.83
7.0.140.0030.03721.95
7.0.60.0070.06719.85
7.0.50.0130.07317.83
7.0.40.0100.06020.23
7.0.30.0530.07720.16
7.0.20.0270.08320.33
7.0.10.0330.08020.25
7.0.00.0170.08020.16
5.6.280.0030.07321.15
5.6.210.0130.04720.47
5.6.200.0000.05318.22
5.6.190.0100.08020.62
5.6.180.0200.04020.46
5.6.170.0200.04020.46
5.6.160.0030.08320.46
5.6.150.0070.03718.25
5.6.140.0070.04018.17
5.6.130.0000.08718.17
5.6.120.0070.05721.13
5.6.110.0130.03321.11
5.6.100.0170.08320.97
5.6.90.0070.03720.96
5.6.80.0100.07020.53
5.6.70.0230.07720.37
5.5.350.0270.07720.39
5.5.340.0070.04718.09
5.5.330.0000.04320.13
5.5.320.0070.05720.28
5.5.310.0300.03720.34
5.5.300.0100.07017.95
5.5.290.0070.08017.98
5.5.280.0070.05020.98
5.5.270.0070.08020.86
5.5.260.0070.03720.95
5.5.250.0000.08720.61
5.5.240.0270.06020.07
5.4.450.0300.05719.48
5.4.440.0130.06019.56
5.4.430.0230.07019.47
5.4.420.0130.06019.60
5.4.410.0130.07018.95
5.4.400.0430.06318.86
5.4.390.0530.05718.77
5.4.380.0600.06718.59
5.4.370.0570.05718.50
5.4.360.0300.07018.60
5.4.350.0500.06718.84
5.4.340.0570.05718.78
5.4.320.0570.07718.71
5.4.310.0370.06318.63
5.4.300.0430.05718.78
5.4.290.0530.06318.63
5.4.280.0200.06018.78
5.4.270.0370.06718.78
5.4.260.0370.06018.45
5.4.250.0430.06018.53
5.4.240.0470.07318.74
5.4.230.0470.07318.79
5.4.220.0300.06318.71
5.4.210.0470.07318.79
5.4.200.0330.07316.62
5.4.190.0400.05718.73
5.4.180.0570.04718.55
5.4.170.0400.07018.87
5.4.160.0370.07718.50
5.4.150.0530.04018.72
5.4.140.0470.05316.27
5.4.130.0330.07316.30
5.4.120.0600.05316.33
5.4.110.0400.07316.32
5.4.100.0600.06016.29
5.4.90.0570.05316.43
5.4.80.0430.06016.41
5.4.70.0400.06716.19
5.4.60.0400.05716.12
5.4.50.0330.07316.29
5.4.40.0300.08016.30
5.4.30.0600.06716.38
5.4.20.0330.05716.13
5.4.10.0570.05016.29
5.4.00.0400.07315.78
5.3.290.0370.06314.76
5.3.280.0500.04714.83
5.3.270.0470.06714.76
5.3.260.0500.06714.65
5.3.250.0670.06714.64
5.3.240.0400.05714.78
5.3.230.0530.05714.61
5.3.220.0370.07714.73
5.3.210.0370.08314.61
5.3.200.0470.07014.75
5.3.190.0470.06714.59
5.3.180.0530.06314.72
5.3.170.0430.05314.60
5.3.160.0330.06014.72
5.3.150.0330.05714.73
5.3.140.0430.04314.66
5.3.130.0470.05014.54
5.3.120.0570.05714.56
5.3.110.0630.06314.71
5.3.100.0600.08014.14
5.3.90.1230.05714.03
5.3.80.0430.06314.06
5.3.70.0430.05714.04
5.3.60.0530.06714.22
5.3.50.0400.06014.05
5.3.40.0330.07014.11
5.3.30.0470.06014.01
5.3.20.0430.05713.81
5.3.10.0470.04013.69
5.3.00.0470.07013.67
5.2.170.0400.05711.16
5.2.160.0500.04711.27
5.2.150.0400.05311.18
5.2.140.0430.04311.19
5.2.130.0430.04311.17
5.2.120.0330.05711.24
5.2.110.0430.05011.32
5.2.100.0230.06711.17
5.2.90.0500.06011.22
5.2.80.0170.05711.13
5.2.70.0500.04311.15
5.2.60.0300.05711.12
5.2.50.0430.06011.00
5.2.40.0300.06011.10
5.2.30.0300.06011.01
5.2.20.0300.06011.00
5.2.10.0230.05010.98
5.2.00.0400.04310.80
5.1.60.0270.04010.02
5.1.50.0300.04010.11
5.1.40.0370.03710.02
5.1.30.0300.03710.54
5.1.20.0270.05310.33
5.1.10.0470.04310.10
5.1.00.0370.04010.10
5.0.50.0270.0238.56
5.0.40.0100.0408.48
5.0.30.0170.0478.24
5.0.20.0130.0338.31
5.0.10.0130.0408.20
5.0.00.0200.0538.18
4.4.90.0070.0306.10
4.4.80.0200.0306.10
4.4.70.0270.0276.10
4.4.60.0170.0176.10
4.4.50.0170.0236.10
4.4.40.0100.0476.10
4.4.30.0170.0236.10
4.4.20.0200.0206.10
4.4.10.0230.0306.10
4.4.00.0130.0506.10
4.3.110.0100.0376.10
4.3.100.0100.0306.10
4.3.90.0130.0306.10
4.3.80.0230.0376.10
4.3.70.0100.0206.10
4.3.60.0100.0206.10
4.3.50.0170.0276.10
4.3.40.1130.0306.10
4.3.30.0100.0336.10
4.3.20.0100.0336.10
4.3.10.0070.0276.10
4.3.00.0100.0236.80