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 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.0rc40.0040.00798.97
7.3.0rc30.0150.00916.71
7.3.0beta10.0070.00012.54
7.3.0alpha10.0500.00811.86
7.2.70.1720.01014.84
7.2.60.0690.00515.73
7.2.50.1540.00614.85
7.2.40.1580.00314.66
7.2.30.1690.00614.87
7.2.20.1680.01014.87
7.2.10.0500.01216.51
7.2.00.0390.01017.24
7.1.200.0030.01015.45
7.1.170.0990.01213.58
7.1.160.1760.01013.43
7.1.150.1150.00713.60
7.1.140.1090.00313.83
7.1.130.1220.00713.70
7.1.120.0700.00615.32
7.1.110.0660.00815.00
7.1.100.0470.00715.94
7.1.90.0680.01114.62
7.1.80.0490.01014.73
7.1.70.0310.00815.17
7.1.60.0530.01528.00
7.1.50.0580.01126.95
7.1.40.1660.01631.95
7.1.30.0420.01432.09
7.1.20.0590.01032.08
7.1.10.0280.01414.20
7.1.00.0230.03016.84
7.0.300.1610.00913.48
7.0.290.1080.00713.42
7.0.270.1380.00613.41
7.0.260.0560.00614.73
7.0.250.0790.00314.56
7.0.240.0550.01314.60
7.0.230.0500.01114.61
7.0.220.0600.00714.50
7.0.210.0480.00313.94
7.0.200.0400.00414.38
7.0.190.0660.00514.21
7.0.180.0450.00513.89
7.0.170.0380.00613.78
7.0.160.0380.00813.85
7.0.150.0280.00713.89
7.0.140.0310.01314.10
7.0.130.0330.00614.06
7.0.120.0290.00813.96
7.0.110.0280.00813.92
7.0.100.0420.01014.08
7.0.90.0190.00613.99
7.0.80.0240.00614.03
7.0.70.0260.00414.13
7.0.60.0280.02915.76
7.0.50.0180.03216.00
7.0.40.0180.02515.88
7.0.30.0160.02216.04
7.0.20.0150.03016.00
7.0.10.0240.02615.95
7.0.00.0650.02015.96
hhvm-3.22.00.1290.22690.33
hhvm-3.21.30.0870.18490.17
hhvm-3.21.00.1040.19290.24
hhvm-3.20.20.1270.21990.05
hhvm-3.19.20.1320.24289.65
hhvm-3.18.50.0670.20587.97
hhvm-3.18.40.1200.21288.34
hhvm-3.17.30.0860.16787.30
hhvm-3.15.40.0960.19384.89
hhvm-3.13.20.0960.18996.58
hhvm-3.12.140.1080.16995.24
hhvm-3.11.10.0900.21887.35
hhvm-3.10.10.0900.19184.01
5.6.300.0150.02917.39
5.6.290.0120.03317.47
5.6.280.0120.04418.53
5.6.270.0110.03417.47
5.6.260.0180.03417.33
5.6.250.0100.03217.55
5.6.240.0160.02717.44
5.6.230.0100.04017.32
5.6.220.0140.02817.45
5.6.210.0110.04418.35
5.6.200.0150.04418.74
5.6.190.0150.04318.58
5.6.180.0130.04018.56
5.6.170.0110.05218.64
5.6.160.0090.04518.66
5.6.150.0130.04818.62
5.6.140.0110.05818.63
5.6.130.0150.04218.61
5.6.120.0110.05218.69
5.6.110.0110.05018.64
5.6.100.0090.05318.65
5.6.90.0130.04718.57
5.6.80.0150.04418.25
5.6.70.0110.04718.09
5.6.60.0130.04718.20
5.6.50.0110.05018.12
5.6.40.0140.04218.21
5.6.30.0090.04318.13
5.6.20.0140.04318.25
5.6.10.0080.03618.10
5.6.00.0120.04318.19
5.5.380.0120.02914.13
5.5.370.0110.02914.29
5.5.360.0080.03114.09
5.5.350.0070.03716.21
5.5.340.0100.03416.46
5.5.330.0100.04416.50
5.5.320.0100.04616.57
5.5.310.0120.03816.49
5.5.300.0140.04316.37
5.5.290.0110.04816.61
5.5.280.0130.04816.58
5.5.270.0080.05116.52
5.5.260.0090.04616.47
5.5.250.0070.04616.34
5.5.240.0100.04916.13
5.5.230.0120.04316.08
5.5.220.0080.04016.17
5.5.210.0150.03716.14
5.5.200.0110.04316.05
5.5.190.0130.03816.18
5.5.180.0120.04215.92
5.5.160.0150.04216.15
5.5.150.0120.04116.09
5.5.140.0100.04516.02
5.5.130.0070.04916.14
5.5.120.0090.04216.08
5.5.110.0100.04216.13
5.5.100.0100.04516.11
5.5.90.0130.03816.05
5.5.80.0140.04116.17
5.5.70.0100.04616.09
5.5.60.0080.03615.91
5.5.50.0100.04515.86
5.5.40.0070.04616.00
5.5.30.0150.04016.01
5.5.20.0140.04416.05
5.5.10.0110.04316.03
5.5.00.0100.04315.83
5.4.450.0090.04916.45
5.4.440.0100.03916.52
5.4.430.0110.04116.46
5.4.420.0090.04816.54
5.4.410.0090.04516.37
5.4.400.0090.04416.36
5.4.390.0100.04716.20
5.4.380.0120.04316.31
5.4.370.0080.05116.34
5.4.360.0110.04316.20
5.4.350.0100.04116.28
5.4.340.0100.04716.28
5.4.320.0110.04216.32
5.4.310.0110.04016.39
5.4.300.0100.03816.25
5.4.290.0070.03916.33
5.4.280.0100.04216.09
5.4.270.0100.04316.22
5.4.260.0090.04416.27
5.4.250.0050.04916.15
5.4.240.0090.04616.20
5.4.230.0100.04216.21
5.4.220.0080.05116.08
5.4.210.0070.04616.22
5.4.200.0060.04416.28
5.4.190.0100.04716.23
5.4.180.0070.04916.35
5.4.170.0100.04316.17
5.4.160.0080.03616.29
5.4.150.0110.04316.25
5.4.140.0120.03714.46
5.4.130.0180.03014.54
5.4.120.0080.03914.56
5.4.110.0060.04314.45
5.4.100.0140.04114.62
5.4.90.0100.04014.55
5.4.80.0100.03814.64
5.4.70.0090.03314.51
5.4.60.0070.03114.46
5.4.50.0160.02814.58
5.4.40.0090.02814.48
5.4.30.0040.03114.54
5.4.20.0080.02914.55
5.4.10.0120.02814.49
5.4.00.0070.02914.08
5.3.290.0100.03913.26
5.3.280.0100.04113.17
5.3.270.0080.04213.19
5.3.260.0110.03513.24
5.3.250.0070.04413.26
5.3.240.0100.03913.19
5.3.230.0070.04413.24
5.3.220.0120.03613.20
5.3.210.0130.04013.20
5.3.200.0090.03313.09
5.3.190.0050.04313.19
5.3.180.0140.03513.23
5.3.170.0090.02913.08
5.3.160.0110.02813.18
5.3.150.0080.02913.19
5.3.140.0080.02913.07
5.3.130.0060.03413.20
5.3.120.0090.02913.18
5.3.110.0090.02913.26
5.3.100.0070.03012.81
5.3.90.0060.03412.90
5.3.80.0020.03612.80
5.3.70.0070.03112.75
5.3.60.0080.04112.73
5.3.50.0070.03112.80
5.3.40.0070.03112.71
5.3.30.0040.03112.79
5.3.20.0020.03112.53
5.3.10.0090.02712.52
5.3.00.0050.03212.51
5.2.170.0060.02310.45
5.2.160.0070.02210.56
5.2.150.0040.02610.54
5.2.140.0020.02710.40
5.2.130.0050.02510.53
5.2.120.0050.02310.42
5.2.110.0050.02410.33
5.2.100.0040.02510.54
5.2.90.0040.02710.52
5.2.80.0050.02410.49
5.2.70.0040.02610.48
5.2.60.0050.02510.30
5.2.50.0070.02210.43
5.2.40.0030.02610.42
5.2.30.0020.02710.30
5.2.20.0070.02410.27
5.2.10.0060.02410.28
5.2.00.0050.02510.16
5.1.60.0050.0199.71
5.1.50.0040.0219.66
5.1.40.0060.0209.60
5.1.30.0070.0209.91
5.1.20.0070.0219.95
5.1.10.0070.0279.75
5.1.00.0060.0219.57
5.0.50.0040.0188.87
5.0.40.0040.0178.77
5.0.30.0010.0298.76
5.0.20.0030.0268.79
5.0.10.0030.0208.77
5.0.00.0020.0368.74
4.4.90.0040.0137.95
4.4.80.0030.0137.94
4.4.70.0050.0127.96
4.4.60.0040.0137.94
4.4.50.0020.0147.94
4.4.40.0040.0197.96
4.4.30.0000.0167.97
4.4.20.0050.0137.97
4.4.10.0020.0137.98
4.4.00.0050.0197.98
4.3.110.0050.0117.92
4.3.100.0030.0137.92
4.3.90.0050.0177.92
4.3.80.0040.0297.92
4.3.70.0060.0187.94
4.3.60.0020.0207.90
4.3.50.0030.0197.91
4.3.40.0040.0297.93
4.3.30.0030.0177.86
4.3.20.0020.0227.86
4.3.10.0010.0237.86
4.3.00.0020.0217.86