3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php (function () { echo 'hello world'; })();
based on ne6kn

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.10.0070.01417.91
7.2.00.0050.01218.54
7.1.120.0180.00316.90
7.1.110.0190.00616.13
7.1.100.0120.00517.13
7.1.90.0120.00615.89
7.1.80.0140.00715.98
7.1.70.0100.00716.03
7.1.60.0480.01126.22
7.1.50.0210.00724.72
7.1.40.0170.01732.45
7.1.30.0170.01432.49
7.1.20.0210.01032.60
7.1.10.0090.00914.59
7.1.00.0110.04018.50
7.0.260.0170.00316.28
7.0.250.0150.00615.91
7.0.240.0160.00315.74
7.0.230.0060.01215.77
7.0.220.0180.00015.83
7.0.210.0160.00314.61
7.0.200.0130.00414.84
7.0.190.0230.00014.91
7.0.180.0220.00314.36
7.0.170.0090.00914.36
7.0.160.0100.00714.28
7.0.150.0120.00614.23
7.0.140.0060.01314.63
7.0.130.0090.00914.59
7.0.120.0100.01014.59
7.0.110.0120.00914.36
7.0.100.0090.01214.67
7.0.90.0120.00914.34
7.0.80.0150.00414.58
7.0.70.0160.00314.55
7.0.60.0250.03816.92
7.0.50.0120.04517.27
7.0.40.0090.03717.22
7.0.30.0110.02917.38
7.0.20.0060.04117.26
7.0.10.0170.03317.15
7.0.00.0750.02517.29
hhvm-3.22.00.0670.15590.45
hhvm-3.21.30.0680.14090.53
hhvm-3.21.00.0910.14490.48
hhvm-3.20.20.0710.18090.16
hhvm-3.19.20.0680.16390.10
hhvm-3.18.50.0400.18888.22
hhvm-3.18.40.0630.16088.64
hhvm-3.17.30.0560.15687.52
hhvm-3.15.40.0550.15685.06
hhvm-3.13.20.0640.14796.74
hhvm-3.12.140.0810.14695.57
hhvm-3.11.10.0570.18987.41
hhvm-3.10.10.0760.16984.06
5.6.300.0100.05420.72
5.6.290.0070.05620.88
5.6.280.0130.05820.90
5.6.270.0130.05220.79
5.6.260.0160.06520.74
5.6.250.0130.05221.02
5.6.240.0160.05120.94
5.6.230.0030.07220.81
5.6.220.0130.05020.80
5.6.210.0120.06220.54
5.6.200.0180.06221.01
5.6.190.0160.06220.83
5.6.180.0150.05420.86
5.6.170.0080.07520.88
5.6.160.0070.06320.90
5.6.150.0120.06820.83
5.6.140.0110.08120.84
5.6.130.0180.05420.92
5.6.120.0100.07320.92
5.6.110.0050.07521.02
5.6.100.0100.07220.95
5.6.90.0120.06620.86
5.6.80.0130.06320.44
5.6.70.0140.06120.19
5.6.60.0110.06620.30
5.6.50.0080.07320.27
5.6.40.0150.06020.30
5.6.30.0050.06320.27
5.6.20.0100.06320.33
5.6.10.0070.04920.21
5.6.00.0100.06320.22
5.5.380.0090.05317.46
5.5.370.0100.05317.63
5.5.360.0060.05817.45
5.5.350.0050.05418.91
5.5.340.0100.04819.36
5.5.330.0080.06619.33
5.5.320.0080.06919.40
5.5.310.0120.05519.19
5.5.300.0150.06219.20
5.5.290.0130.06819.50
5.5.280.0100.07119.43
5.5.270.0080.07119.36
5.5.260.0080.06619.34
5.5.250.0070.06519.19
5.5.240.0100.06918.87
5.5.230.0100.06518.72
5.5.220.0080.05718.82
5.5.210.0180.05218.81
5.5.200.0100.06418.61
5.5.190.0140.05418.79
5.5.180.0120.06118.62
5.5.160.0180.06018.76
5.5.150.0150.05818.68
5.5.140.0120.06318.57
5.5.130.0070.07018.73
5.5.120.0080.06118.67
5.5.110.0080.06218.74
5.5.100.0090.06418.65
5.5.90.0130.05718.64
5.5.80.0200.05418.73
5.5.70.0100.06718.67
5.5.60.0050.05218.61
5.5.50.0100.06418.45
5.5.40.0050.06718.54
5.5.30.0180.05618.65
5.5.20.0150.06318.71
5.5.10.0100.06218.63
5.5.00.0120.06118.51
5.4.450.0070.07219.38
5.4.440.0100.05419.29
5.4.430.0130.05919.23
5.4.420.0080.06919.42
5.4.410.0100.06419.29
5.4.400.0080.06219.06
5.4.390.0090.06918.98
5.4.380.0120.06218.98
5.4.370.0100.07319.16
5.4.360.0100.06418.99
5.4.350.0080.05919.01
5.4.340.0100.06718.99
5.4.320.0110.06019.02
5.4.310.0120.05819.13
5.4.300.0120.05419.02
5.4.290.0070.05319.09
5.4.280.0130.05618.89
5.4.270.0100.06219.01
5.4.260.0070.06519.07
5.4.250.0030.07118.89
5.4.240.0120.06419.04
5.4.230.0080.06218.96
5.4.220.0080.07218.94
5.4.210.0070.06718.98
5.4.200.0070.06018.94
5.4.190.0070.06919.01
5.4.180.0070.06819.15
5.4.170.0110.06018.96
5.4.160.0100.04818.92
5.4.150.0120.06119.07
5.4.140.0120.05316.42
5.4.130.0200.04316.51
5.4.120.0060.05516.46
5.4.110.0050.06216.45
5.4.100.0160.05916.54
5.4.90.0120.05716.36
5.4.80.0080.05616.55
5.4.70.0100.04516.47
5.4.60.0030.04416.36
5.4.50.0160.04216.46
5.4.40.0100.03816.51
5.4.30.0070.03916.46
5.4.20.0050.04116.49
5.4.10.0100.04216.40
5.4.00.0050.04215.86
5.3.290.0100.05514.74
5.3.280.0080.06214.64
5.3.270.0070.05914.65
5.3.260.0080.05114.72
5.3.250.0070.06314.77
5.3.240.0100.05614.72
5.3.230.0080.06014.72
5.3.220.0170.04914.75
5.3.210.0130.06014.69
5.3.200.0080.04914.54
5.3.190.0050.06014.65
5.3.180.0170.04914.66
5.3.170.0080.04114.53
5.3.160.0100.03914.69
5.3.150.0070.04114.55
5.3.140.0070.04214.49
5.3.130.0050.04714.66
5.3.120.0100.04114.58
5.3.110.0070.04414.70
5.3.100.0070.04314.19
5.3.90.0020.05014.16
5.3.80.0030.04614.07
5.3.70.0080.04314.00
5.3.60.0070.06013.96
5.3.50.0080.04414.07
5.3.40.0070.04313.94
5.3.30.0050.04114.02
5.3.20.0030.04213.76
5.3.10.0070.03913.77
5.3.00.0030.04313.75
5.2.170.0050.03311.19
5.2.160.0050.03311.20
5.2.150.0020.03711.18
5.2.140.0040.03511.01
5.2.130.0050.03411.19
5.2.120.0050.03211.16
5.2.110.0050.03410.99
5.2.100.0050.03411.17
5.2.90.0030.03711.17
5.2.80.0060.03211.15
5.2.70.0030.03711.15
5.2.60.0030.03610.96
5.2.50.0050.03311.00
5.2.40.0000.03811.04
5.2.30.0000.03910.90
5.2.20.0050.03410.87
5.2.10.0030.03410.99
5.2.00.0050.03410.78
5.1.60.0050.02610.14
5.1.50.0050.02710.06
5.1.40.0030.0309.97
5.1.30.0050.03110.44
5.1.20.0050.03010.49
5.1.10.0070.04010.20
5.1.00.0030.0329.93
5.0.50.0000.0268.88
5.0.40.0050.0228.73
5.0.30.0020.0378.72
5.0.20.0020.0368.75
5.0.10.0000.0308.73
5.0.00.0020.0528.68
4.4.90.0040.0187.49
4.4.80.0020.0197.48
4.4.70.0030.0187.51
4.4.60.0020.0197.48
4.4.50.0020.0197.48
4.4.40.0030.0277.52
4.4.30.0000.0217.53
4.4.20.0030.0197.53
4.4.10.0020.0177.54
4.4.00.0050.0287.54
4.3.110.0050.0157.45
4.3.100.0020.0187.45
4.3.90.0050.0257.45
4.3.80.0030.0417.45
4.3.70.0060.0247.48
4.3.60.0020.0297.42
4.3.50.0020.0287.44
4.3.40.0020.0437.46
4.3.30.0020.0257.36
4.3.20.0020.0327.36
4.3.10.0000.0327.36
4.3.00.0030.0287.36