3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo date('Hi');

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.0000.01316.70
7.2.40.0630.01017.84
7.2.30.0360.01017.89
7.2.20.0390.01217.51
7.2.10.0400.01017.70
7.2.00.0310.01318.48
7.1.200.0060.00615.58
7.1.160.0620.01016.82
7.1.150.0400.01016.30
7.1.140.0370.01216.48
7.1.130.0490.00716.72
7.1.120.0420.01116.93
7.1.110.0520.01316.05
7.1.100.0240.00617.17
7.1.90.0480.00916.20
7.1.80.0070.00816.25
7.1.70.0290.01216.04
7.1.60.0400.01326.35
7.1.50.0620.01524.83
7.1.40.0760.01932.53
7.1.30.0750.01732.51
7.1.20.0520.01232.89
7.1.10.0090.00814.56
7.1.00.0180.04318.61
7.0.290.0570.01416.16
7.0.270.0400.00916.07
7.0.260.0510.01015.97
7.0.250.2230.01115.54
7.0.240.0390.00815.41
7.0.230.0520.00615.30
7.0.220.0100.01115.79
7.0.210.0800.01114.88
7.0.200.0240.01015.78
7.0.190.0620.01314.88
7.0.180.0380.00914.48
7.0.170.0510.01114.49
7.0.160.0420.00714.32
7.0.150.0070.01114.38
7.0.140.0240.03218.16
7.0.130.0460.01114.43
7.0.120.0350.00914.54
7.0.110.0430.03617.24
7.0.100.0340.04617.17
7.0.90.0290.04817.25
7.0.80.0330.04117.25
7.0.70.0170.04717.03
7.0.60.0260.04817.11
7.0.50.0230.03717.47
7.0.40.0250.04017.38
7.0.30.0520.04717.38
7.0.20.0190.02417.40
7.0.10.0160.03617.47
7.0.00.0220.02617.26
hhvm-3.22.00.1130.25189.55
hhvm-3.21.30.1130.23489.68
hhvm-3.21.00.0930.29489.73
hhvm-3.20.20.1300.25889.98
hhvm-3.19.20.1310.24488.35
hhvm-3.18.50.1130.23088.04
hhvm-3.18.40.0910.23987.69
hhvm-3.17.30.0910.22186.71
hhvm-3.15.40.0950.21184.43
hhvm-3.13.20.1020.20996.17
hhvm-3.12.140.1040.19595.03
hhvm-3.11.10.0930.19486.92
hhvm-3.10.10.0980.21284.12
5.6.300.0150.06020.56
5.6.290.0150.06020.83
5.6.280.0140.05920.83
5.6.270.0180.06220.93
5.6.260.0190.05920.72
5.6.250.0080.07720.68
5.6.240.0150.07220.70
5.6.230.0130.07020.68
5.6.220.0120.07120.71
5.6.210.0120.08220.75
5.6.200.0130.05621.05
5.6.190.0160.07120.82
5.6.180.0130.07620.92
5.6.170.0110.05221.04
5.6.160.0120.05220.99
5.6.150.0100.06020.85
5.6.140.0100.06320.92
5.6.130.0120.05420.91
5.6.120.0080.05920.99
5.6.110.0080.05320.98
5.6.100.0140.05220.86
5.6.90.0150.04520.90
5.6.80.0130.04220.46
5.6.70.0110.04920.27
5.6.60.0100.04820.30
5.6.50.0090.04620.38
5.6.40.0100.04620.34
5.6.30.0130.04420.33
5.6.20.0060.05220.30
5.6.10.0160.05720.22
5.6.00.0090.04620.21
5.5.380.0090.08219.05
5.5.370.0120.07218.92
5.5.360.0120.07318.86
5.5.350.0120.07718.94
5.5.340.0130.04819.52
5.5.330.0120.06719.47
5.5.320.0200.06619.37
5.5.310.0110.05219.38
5.5.300.0090.05919.34
5.5.290.0120.05319.37
5.5.280.0100.06019.25
5.5.270.0060.05319.44
5.5.260.0090.05519.37
5.5.250.0120.04619.25
5.5.240.0120.06018.74
5.5.230.0090.06018.88
5.5.220.0120.05718.69
5.5.210.0090.04918.81
5.5.200.0090.04918.73
5.5.190.0140.04818.73
5.5.180.0060.05018.85
5.5.160.0110.05318.85
5.5.150.0100.04718.66
5.5.140.0090.06618.70
5.5.130.0080.05418.73
5.5.120.0130.03918.62
5.5.110.0120.05718.78
5.5.100.0080.05018.65
5.5.90.0120.04618.70
5.5.80.0090.05118.62
5.5.70.0080.04818.58
5.5.60.0150.04818.59
5.5.50.0080.05218.52
5.5.40.0110.04518.70
5.5.30.0110.04518.54
5.5.20.0160.05218.66
5.5.10.0080.05518.52
5.5.00.0140.06418.67
5.4.450.0090.05519.40
5.4.440.0090.05619.41
5.4.430.0080.06019.31
5.4.420.0140.04319.27
5.4.410.0150.04419.24
5.4.400.0110.04618.99
5.4.390.0110.05519.03
5.4.380.0090.06619.01
5.4.370.0070.05018.98
5.4.360.0110.04918.98
5.4.350.0090.04519.05
5.4.340.0110.04819.13
5.4.320.0120.04419.16
5.4.310.0090.05019.09
5.4.300.0100.05319.10
5.4.290.0160.04419.02
5.4.280.0090.04919.02
5.4.270.0110.05319.02
5.4.260.0070.04818.99
5.4.250.0080.04519.02
5.4.240.0090.04419.07
5.4.230.0040.05018.97
5.4.220.0090.05018.99
5.4.210.0120.04218.93
5.4.200.0100.04618.99
5.4.190.0130.05219.04
5.4.180.0150.05018.98
5.4.170.0130.05319.00
5.4.160.0090.06918.87
5.4.150.0090.06718.88
5.4.140.0120.05216.56
5.4.130.0110.05916.48
5.4.120.0080.06416.42
5.4.110.0080.06616.32
5.4.100.0110.07516.41
5.4.90.0130.06316.55
5.4.80.0120.06616.55
5.4.70.0100.06016.48
5.4.60.0110.05916.27
5.4.50.0140.05716.24
5.4.40.0100.05916.53
5.4.30.0190.04116.42
5.4.20.0130.05816.44
5.4.10.0090.06316.41
5.4.00.0100.04615.81
5.3.290.0110.04414.68
5.3.280.0090.04414.66
5.3.270.0110.05114.54
5.3.260.0120.06314.44
5.3.250.0150.06214.52
5.3.240.0100.06514.68
5.3.230.0100.06514.66
5.3.220.0140.05814.51
5.3.210.0100.06314.56
5.3.200.0190.05814.52
5.3.190.0170.06114.48
5.3.180.0120.06014.60
5.3.170.0120.05914.52
5.3.160.0120.05814.61
5.3.150.0080.05814.55
5.3.140.0110.04814.47
5.3.130.0090.07014.64
5.3.120.0150.05214.65
5.3.110.0120.06414.57
5.3.100.0140.06114.12
5.3.90.0090.06213.99
5.3.80.0070.05414.07
5.3.70.0140.05713.99
5.3.60.0090.06213.81
5.3.50.0110.05613.98
5.3.40.0070.04913.99
5.3.30.0110.06113.91
5.3.20.0110.04413.70
5.3.10.0050.05313.65
5.3.00.0120.06113.61
5.2.170.0130.04111.03
5.2.160.0080.05011.19
5.2.150.0040.04111.23
5.2.140.0060.05011.05
5.2.130.0080.04811.23
5.2.120.0070.05111.20
5.2.110.0060.05111.23
5.2.100.0100.05011.18
5.2.90.0110.04711.16
5.2.80.0120.04511.11
5.2.70.0040.04711.12
5.2.60.0080.05211.19
5.2.50.0070.05111.11
5.2.40.0090.04811.05
5.2.30.0060.04411.03
5.2.20.0060.05411.03
5.2.10.0080.04810.89
5.2.00.0070.05010.79
5.1.60.0060.04110.00
5.1.50.0100.04110.23
5.1.40.0110.03210.11
5.1.30.0070.04510.53
5.1.20.0090.04710.42
5.1.10.0060.04610.19
5.1.00.0060.04710.04
5.0.50.0050.0378.53
5.0.40.0060.0358.35
5.0.30.0050.0528.32
5.0.20.0030.0368.31
5.0.10.0050.0358.30
5.0.00.0060.0498.29
4.4.90.0050.0218.14
4.4.80.0030.0208.14
4.4.70.0030.0288.14
4.4.60.0020.0298.14
4.4.50.0060.0248.14
4.4.40.0070.0428.14
4.4.30.0040.0268.14
4.4.20.0030.0298.14
4.4.10.0020.0288.14
4.4.00.0020.0438.14
4.3.110.0040.0248.14
4.3.100.0100.0198.14
4.3.90.0030.0288.14
4.3.80.0040.0428.14
4.3.70.0030.0298.14
4.3.60.0040.0268.14
4.3.50.0080.0268.14
4.3.40.0060.0448.14
4.3.30.0020.0308.14
4.3.20.0020.0298.14
4.3.10.0040.0258.14
4.3.00.0020.0288.14