3v4l.org

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

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.1.90.0130.00417.79
7.1.80.0110.00817.88
7.1.70.0040.01416.84
7.1.60.0220.01426.17
7.1.50.0100.01225.57
7.1.40.0130.00925.35
7.1.30.0130.00825.48
7.1.20.0160.00725.49
7.1.10.0030.01316.46
7.1.00.0090.00716.30
7.0.230.0040.01217.34
7.0.220.0060.00817.61
7.0.210.0060.01116.50
7.0.200.0050.01016.64
7.0.190.0090.00616.55
7.0.180.0110.00415.87
7.0.170.0070.00816.23
7.0.160.0090.00616.06
7.0.150.0090.00916.09
7.0.140.0020.01416.06
7.0.130.0060.00716.43
7.0.120.0030.01016.57
7.0.110.0160.00615.23
7.0.100.0160.00715.29
7.0.90.0200.00615.33
7.0.80.0060.00816.23
7.0.70.0060.01016.18
7.0.60.0050.00716.04
7.0.50.0060.00616.11
7.0.40.0040.01115.74
7.0.30.0060.00715.77
7.0.20.0060.00915.63
7.0.10.0070.01115.70
7.0.00.0050.00915.72
hhvm-3.21.00.0500.18892.28
hhvm-3.20.20.0820.21092.07
hhvm-3.19.20.0800.15091.11
hhvm-3.18.40.0700.17490.10
hhvm-3.17.30.0660.22389.47
hhvm-3.15.40.0480.13788.61
hhvm-3.13.20.0610.15798.54
hhvm-3.12.140.0690.20697.09
hhvm-3.11.10.0260.17190.63
hhvm-3.10.10.0590.15288.23
5.6.300.0080.05820.74
5.6.290.0070.07220.70
5.6.280.0140.05620.87
5.6.270.0150.04420.79
5.6.260.0050.05120.85
5.6.250.0090.06920.76
5.6.240.0090.06720.94
5.6.230.0060.06820.80
5.6.220.0130.05520.88
5.6.210.0100.05121.04
5.6.200.0080.05420.95
5.6.190.0060.05620.83
5.6.180.0100.05420.92
5.6.170.0130.04820.93
5.6.160.0130.05820.74
5.6.150.0060.05220.72
5.6.140.0090.06220.81
5.6.130.0100.04620.72
5.6.120.0100.05920.85
5.6.110.0100.05020.82
5.6.100.0050.05420.84
5.6.90.0080.04720.80
5.6.80.0100.05020.33
5.6.70.0060.05720.14
5.6.60.0100.04320.30
5.6.50.0040.04920.28
5.6.40.0080.04520.21
5.6.30.0070.06520.19
5.6.20.0020.05320.17
5.6.10.0050.05420.23
5.6.00.0070.05320.33
5.5.380.0090.06517.47
5.5.370.0130.06517.47
5.5.360.0070.05717.48
5.5.350.0130.04717.40
5.5.340.0060.06017.71
5.5.330.0160.06217.97
5.5.320.0140.05917.94
5.5.310.0100.05417.74
5.5.300.0100.07318.03
5.5.290.0030.06017.77
5.5.280.0100.05517.96
5.5.270.0140.06418.00
5.5.260.0160.04918.03
5.5.250.0040.06117.84
5.5.240.0060.06617.44
5.5.230.0100.05117.38
5.5.220.0170.04017.34
5.5.210.0170.04017.38
5.5.200.0130.04617.38
5.5.190.0070.05317.32
5.5.180.0070.05417.38
5.5.160.0100.05917.35
5.5.150.0070.05417.41
5.5.140.0070.05417.29
5.5.130.0070.04917.38
5.5.120.0100.04517.29
5.5.110.0070.04917.37
5.5.100.0100.04717.24
5.5.90.0130.04917.38
5.5.80.0000.05817.29
5.5.70.0130.05117.29
5.5.60.0060.04817.05
5.5.50.0070.05416.98
5.5.40.0030.05117.04
5.5.30.0070.04917.02
5.5.20.0070.05017.02
5.5.10.0080.05017.26
5.5.00.0070.05317.21
5.4.450.0100.05419.17
5.4.440.0030.06119.39
5.4.430.0100.05119.34
5.4.420.0130.04619.28
5.4.410.0030.06319.29
5.4.400.0030.05419.11
5.4.390.0060.05719.08
5.4.380.0130.04619.06
5.4.370.0070.05018.89
5.4.360.0130.04519.09
5.4.350.0060.05119.08
5.4.340.0070.05619.01
5.4.320.0090.05619.24
5.4.310.0130.04718.84
5.4.300.0070.05019.00
5.4.290.0090.04719.14
5.4.280.0070.05619.09
5.4.270.0100.04719.01
5.4.260.0100.04619.10
5.4.250.0030.06719.14
5.4.240.0100.04618.92
5.4.230.0030.05319.23
5.4.220.0070.05019.01
5.4.210.0130.04319.08
5.4.200.0000.05618.98
5.4.190.0130.04818.91
5.4.180.0100.04518.91
5.4.170.0100.05118.91
5.4.160.0070.04918.97
5.4.150.0130.04718.82
5.4.140.0000.05516.70
5.4.130.0070.04416.61
5.4.120.0070.04916.53
5.4.110.0060.04816.58
5.4.100.0000.07016.67
5.4.90.0100.04316.69
5.4.80.0070.04616.41
5.4.70.0130.03916.67
5.4.60.0100.04616.65
5.4.50.0070.04616.62
5.4.40.0030.04816.68
5.4.30.0100.04316.39
5.4.20.0130.04116.66
5.4.10.0060.04816.38
5.4.00.0070.04315.98
5.3.290.0030.05614.71
5.3.280.0030.05014.88
5.3.270.0070.05014.66
5.3.260.0100.04714.82
5.3.250.0000.05414.90
5.3.240.0070.04914.90
5.3.230.0030.04914.86
5.3.220.0070.04714.45
5.3.210.0030.06114.75
5.3.200.0100.04514.84
5.3.190.0130.04114.62
5.3.180.0100.04314.75
5.3.170.0070.04914.84
5.3.160.0100.04314.84
5.3.150.0070.04814.82
5.3.140.0030.04814.82
5.3.130.0030.05414.83
5.3.120.0030.05314.81
5.3.110.0070.04814.81
5.3.100.0070.05214.09
5.3.90.0070.06513.89
5.3.80.0070.04614.07
5.3.70.0040.04914.07
5.3.60.0100.04414.29
5.3.50.0070.04614.11
5.3.40.0100.04514.24
5.3.30.0030.04814.12
5.3.20.0060.04713.74
5.3.10.0030.05013.70
5.3.00.0100.04313.69
5.2.170.0070.04611.31
5.2.160.0070.03611.39
5.2.150.0000.04411.31
5.2.140.0030.04211.31
5.2.130.0030.05211.21
5.2.120.0100.03611.31
5.2.110.0000.04211.31
5.2.100.0060.03511.40
5.2.90.0030.03710.97
5.2.80.0040.03911.20
5.2.70.0030.03911.07
5.2.60.0040.04011.26
5.2.50.0100.03311.28
5.2.40.0030.04011.29
5.2.30.0000.04411.25
5.2.20.0070.03611.15
5.2.10.0000.04110.86
5.2.00.0060.03510.71
5.1.60.0070.03310.21
5.1.50.0070.0309.98
5.1.40.0070.0299.96
5.1.30.0070.03110.63
5.1.20.0070.03310.52
5.1.10.0060.03410.05
5.1.00.0030.04110.04
5.0.50.0060.0258.52
5.0.40.0100.0268.45
5.0.30.0130.0438.42
5.0.20.0040.0358.29
5.0.10.0000.0298.32
5.0.00.0060.0358.46
4.4.90.0100.0136.45
4.4.80.0030.0196.45
4.4.70.0070.0176.45
4.4.60.0070.0166.45
4.4.50.0070.0176.45
4.4.40.0030.0316.45
4.4.30.0040.0196.45
4.4.20.0040.0216.45
4.4.10.0030.0206.45
4.4.00.0070.0286.45
4.3.110.0000.0326.45
4.3.100.0030.0276.45
4.3.90.0000.0236.45
4.3.80.0030.0306.45
4.3.70.0030.0196.45
4.3.60.0040.0186.45
4.3.50.0030.0206.45
4.3.40.0000.0366.45
4.3.30.0070.0176.45
4.3.20.0000.0246.45
4.3.10.0000.0266.45
4.3.00.0070.0176.45