3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 'test';

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.2.60.0060.00916.45
7.2.00.0150.00619.04
7.1.200.0030.01015.64
7.1.100.1600.00315.98
7.1.90.1560.00316.04
7.1.80.2250.01315.85
7.1.70.1000.01316.02
7.1.60.1060.01026.15
7.1.50.1140.01024.52
7.1.40.1990.01432.32
7.1.30.1900.02032.39
7.1.20.3240.00732.64
7.1.10.3040.01314.71
7.1.00.1130.04318.51
7.0.240.2290.00915.57
7.0.230.1590.01315.66
7.0.220.2680.01015.65
7.0.210.1890.00314.64
7.0.200.0940.00615.66
7.0.190.1550.01014.67
7.0.180.0610.01014.21
7.0.170.2770.00714.46
7.0.160.2550.00714.51
7.0.150.3070.00714.18
7.0.140.1580.03818.12
7.0.130.2020.00714.41
7.0.120.2060.01014.41
7.0.110.2020.00714.46
7.0.100.2040.01314.23
7.0.90.2130.01014.24
7.0.80.3190.01614.12
7.0.70.3230.01714.17
7.0.60.1620.03516.85
7.0.50.1370.03516.04
7.0.40.1610.04717.24
7.0.30.1540.02517.35
7.0.20.1400.04217.31
7.0.10.1210.02817.41
7.0.00.1500.03317.27
hhvm-3.22.00.2190.19690.02
hhvm-3.21.30.2220.17589.96
hhvm-3.21.00.2300.16989.34
hhvm-3.20.20.0530.16589.90
hhvm-3.19.20.0700.14189.16
hhvm-3.18.50.0600.19787.81
hhvm-3.18.40.0500.17187.21
hhvm-3.17.30.0710.17186.93
hhvm-3.15.40.0430.16384.73
hhvm-3.13.20.0910.21895.95
hhvm-3.12.140.0530.17394.41
hhvm-3.11.10.0690.19087.01
hhvm-3.10.10.0740.14284.08
5.6.300.0070.06220.67
5.6.290.0130.06620.91
5.6.280.0070.06520.91
5.6.270.0100.05520.76
5.6.260.0100.05420.87
5.6.250.0130.05320.76
5.6.240.0100.05820.84
5.6.230.0090.08420.80
5.6.220.0200.06920.83
5.6.210.0110.04920.72
5.6.200.0160.06319.55
5.6.190.0110.05920.69
5.6.180.0230.06520.65
5.6.170.0230.04120.63
5.6.160.0110.06220.69
5.6.150.0100.05819.42
5.6.140.0050.05219.56
5.6.130.0080.05419.45
5.6.120.0080.06420.98
5.6.110.0130.04921.04
5.6.100.0080.05020.95
5.6.90.0130.06120.94
5.6.80.0070.04520.24
5.6.70.0100.05120.21
5.6.60.0070.05820.08
5.6.50.0100.05920.10
5.6.40.0030.07820.17
5.6.30.0130.06320.24
5.6.20.0160.05220.17
5.6.10.0070.06620.23
5.6.00.0140.06620.07
5.5.380.0100.08217.41
5.5.370.0070.05817.40
5.5.360.0050.09217.39
5.5.350.0130.04218.86
5.5.340.0070.05317.95
5.5.330.0050.08119.22
5.5.320.0120.05919.15
5.5.310.0240.05418.97
5.5.300.0050.07017.99
5.5.290.0120.06417.90
5.5.280.0090.07419.37
5.5.270.0100.06819.45
5.5.260.0050.08519.37
5.5.250.0050.07119.27
5.5.240.0070.06518.70
5.5.230.0230.04017.34
5.5.220.0140.04817.34
5.5.210.0040.06117.15
5.5.200.0070.05717.34
5.5.190.0130.06617.32
5.5.180.0090.05717.15
5.5.160.0060.05617.40
5.5.150.0100.07217.34
5.5.140.0130.06517.43
5.5.130.0130.04917.33
5.5.120.0150.04317.32
5.5.110.0070.05417.05
5.5.100.0130.04917.30
5.5.90.0190.06817.21
5.5.80.0160.05416.99
5.5.70.0100.06017.12
5.5.60.0130.05117.23
5.5.50.0070.05317.21
5.5.40.0260.05117.20
5.5.30.0110.05017.01
5.5.20.0190.04417.20
5.5.10.0070.05417.04
5.5.00.0100.05116.98
5.4.450.0470.05019.41
5.4.440.0400.07019.40
5.4.430.0460.05019.42
5.4.420.0280.05919.23
5.4.410.0380.05519.23
5.4.400.0350.05519.03
5.4.390.0450.04918.97
5.4.380.0180.05318.74
5.4.370.0170.06218.77
5.4.360.0200.05218.81
5.4.350.0150.05718.79
5.4.340.0190.05418.63
5.4.320.0160.06318.84
5.4.310.0200.05418.79
5.4.300.0220.04918.86
5.4.290.0220.04918.75
5.4.280.0130.05618.65
5.4.270.0170.05318.72
5.4.260.0170.05318.68
5.4.250.0280.05818.83
5.4.240.0250.04918.84
5.4.230.0220.05418.92
5.4.220.0230.05118.90
5.4.210.0230.04818.87
5.4.200.0150.05817.80
5.4.190.0140.05918.78
5.4.180.0150.05618.72
5.4.170.0270.05118.82
5.4.160.0180.05018.87
5.4.150.0220.05218.79
5.4.140.0220.06016.28
5.4.130.0200.04616.40
5.4.120.0170.04916.41
5.4.110.0220.05216.30
5.4.100.0150.05316.27
5.4.90.0120.05416.29
5.4.80.0170.05116.28
5.4.70.0180.05016.18
5.4.60.0190.04916.14
5.4.50.0230.04316.39
5.4.40.0170.05916.44
5.4.30.0170.05716.42
5.4.20.0220.05016.38
5.4.10.0130.06016.33
5.4.00.0170.04915.72