3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (new \DateTime())->format('Y-m-d H:i:s');

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.20.0190.01118.56
7.2.10.0190.01118.59
7.2.00.0250.01518.60
7.1.140.0210.01117.38
7.1.130.0380.00917.37
7.1.120.0150.01317.31
7.1.110.0210.01016.75
7.1.100.0200.01116.81
7.1.90.0180.00916.70
7.1.80.0180.01116.74
7.1.70.0170.00815.83
7.1.60.0640.01433.87
7.1.50.0310.01133.50
7.1.40.0570.01433.20
7.1.30.0350.01533.19
7.1.20.0400.01433.28
7.1.10.0160.01015.33
7.1.00.0130.01015.40
7.0.270.0190.01217.01
7.0.260.0140.01317.15
7.0.250.0200.00816.53
7.0.240.0170.01016.61
7.0.230.0170.01016.48
7.0.220.0200.01016.40
7.0.210.0180.01015.54
7.0.200.0170.00915.54
7.0.190.0500.01015.44
7.0.180.0160.00915.08
7.0.170.0170.01115.18
7.0.160.0170.01015.15
7.0.150.0170.01015.01
7.0.140.0160.00815.17
7.0.130.0150.00915.30
7.0.120.0210.01115.27
7.0.110.0270.01115.12
7.0.100.0130.01015.19
7.0.90.0150.01015.08
7.0.80.0170.00915.17
7.0.70.0150.00815.12
7.0.60.0150.00814.86
7.0.50.0140.01015.01
7.0.40.0120.00915.25
7.0.30.0160.00915.30
7.0.20.0170.01015.05
7.0.10.0180.00814.95
7.0.00.0210.01214.97
hhvm-3.22.00.0790.21490.10
hhvm-3.21.30.0780.22089.73
hhvm-3.21.00.0870.21989.50
hhvm-3.20.20.0860.21289.91
hhvm-3.19.20.0880.20289.08
hhvm-3.18.50.0710.22487.64
hhvm-3.18.40.0810.22687.87
hhvm-3.17.30.0850.20387.10
hhvm-3.15.40.0670.18884.79
hhvm-3.13.20.0900.19496.21
hhvm-3.12.140.0760.20094.86
hhvm-3.11.10.0800.20187.16
hhvm-3.10.10.0770.18784.14
5.6.300.0110.06620.71
5.6.290.0140.06620.72
5.6.280.0100.07120.79
5.6.270.0120.06620.85
5.6.260.0130.06520.84
5.6.250.0150.06320.80
5.6.240.0170.06020.83
5.6.230.0170.06220.84
5.6.220.0140.06320.78
5.6.210.0150.06620.91
5.6.200.0120.06920.77
5.6.190.0150.06920.81
5.6.180.0130.06620.84
5.6.170.0150.06420.79
5.6.160.0170.06720.78
5.6.150.0160.05920.83
5.6.140.0150.06320.80
5.6.130.0190.06120.79
5.6.120.0130.07620.86
5.6.110.0160.06820.79
5.6.100.0150.07220.77
5.6.90.0150.06820.73
5.6.80.0170.06420.13
5.6.70.0120.06420.10
5.6.60.0120.06320.20
5.6.50.0100.06720.17
5.6.40.0150.06120.17
5.6.30.0120.06820.19
5.6.20.0150.06320.13
5.6.10.0130.06320.10
5.6.00.0170.06320.16
5.5.380.0150.06717.44
5.5.370.0130.06417.47
5.5.360.0120.06217.44
5.5.350.0140.06417.44
5.5.340.0120.06417.87
5.5.330.0130.06017.97
5.5.320.0140.06717.97
5.5.310.0120.06417.97
5.5.300.0130.07217.94
5.5.290.0120.06817.85
5.5.280.0150.06717.94
5.5.270.0150.06917.87
5.5.260.0150.07417.86
5.5.250.0150.07017.77
5.5.240.0150.05817.28
5.5.230.0120.06217.25
5.5.220.0160.06417.27
5.5.210.0100.06517.33
5.5.200.0130.06417.32
5.5.190.0100.07017.25
5.5.180.0130.06717.24
5.5.160.0130.06017.30
5.5.150.0120.06317.25
5.5.140.0120.06517.24
5.5.130.0140.06417.27
5.5.120.0130.06317.24
5.5.110.0120.06217.28
5.5.100.0110.07217.17
5.5.90.0100.06417.17
5.5.80.0140.05517.13
5.5.70.0120.06517.15
5.5.60.0120.06417.13
5.5.50.0110.06117.13
5.5.40.0110.06217.15
5.5.30.0110.06317.13
5.5.20.0130.06517.12
5.5.10.0120.06317.15
5.5.00.0130.06317.08
5.4.450.0170.06619.31
5.4.440.0130.06619.26
5.4.430.0100.07119.29
5.4.420.0130.06319.28
5.4.410.0140.06719.18
5.4.400.0150.06019.01
5.4.390.0120.06318.97
5.4.380.0130.06218.94
5.4.370.0130.05718.92
5.4.360.0160.06119.03
5.4.350.0150.05918.93
5.4.340.0120.06719.05
5.4.320.0150.06118.94
5.4.310.0120.05918.99
5.4.300.0160.06018.96
5.4.290.0150.06218.99
5.4.280.0120.06318.95
5.4.270.0130.05819.05
5.4.260.0140.06518.90
5.4.250.0180.05318.97
5.4.240.0140.06318.98
5.4.230.0140.05919.05
5.4.220.0140.06418.93
5.4.210.0120.06218.92
5.4.200.0130.05819.00
5.4.190.0130.06718.93
5.4.180.0120.06318.93
5.4.170.0150.05918.91
5.4.160.0120.05518.98
5.4.150.0120.06118.98
5.4.140.0130.06116.54
5.4.130.0130.05116.52
5.4.120.0110.06016.47
5.4.110.0110.06116.53
5.4.100.0120.05816.53
5.4.90.0150.05416.58
5.4.80.0130.05516.52
5.4.70.0110.06216.53
5.4.60.0130.05916.50
5.4.50.0100.06216.43
5.4.40.0120.06116.50
5.4.30.0110.05516.43
5.4.20.0110.05616.45
5.4.10.0110.06016.44
5.4.00.0140.05215.89
5.3.290.0140.06614.72
5.3.280.0130.05814.69
5.3.270.0100.06114.70
5.3.260.0140.05814.66
5.3.250.0110.05614.64
5.3.240.0110.06214.62
5.3.230.0140.05814.71
5.3.220.0120.05914.58
5.3.210.0110.06014.64
5.3.200.0110.06114.71
5.3.190.0090.06314.60
5.3.180.0110.05614.58
5.3.170.0150.06214.64
5.3.160.0090.06514.56
5.3.150.0120.06514.53
5.3.140.0140.06114.65
5.3.130.0150.05714.57
5.3.120.0150.06614.61
5.3.110.0110.05914.62
5.3.100.0120.05614.03
5.3.90.0140.05814.16
5.3.80.0110.05814.02
5.3.70.0130.05814.02
5.3.60.0130.05314.07
5.3.50.0120.05913.96
5.3.40.0100.06214.01
5.3.30.0110.05913.91
5.3.20.0100.05413.68
5.3.10.0110.05613.71
5.3.00.0100.06313.68
5.2.170.0100.05011.27
5.2.160.0080.04611.18
5.2.150.0070.05511.24
5.2.140.0100.04911.21
5.2.130.0090.04611.13
5.2.120.0110.04611.17
5.2.110.0100.04111.20
5.2.100.0080.04711.15
5.2.90.0090.04711.18
5.2.80.0080.05111.21
5.2.70.0070.04911.17
5.2.60.0120.04311.19
5.2.50.0080.04511.14
5.2.40.0080.04411.06
5.2.30.0100.04511.06
5.2.20.0070.04811.03
5.2.10.0090.04511.00
5.2.00.0120.04210.86
5.1.60.0110.03310.13
5.1.50.0090.03710.10
5.1.40.0070.04010.08
5.1.30.0090.03810.40
5.1.20.0080.04210.46
5.1.10.0080.03710.25
5.1.00.0090.03910.17
5.0.50.0050.0349.29
5.0.40.0070.0319.29
5.0.30.0070.0479.29
5.0.20.0060.0339.29
5.0.10.0090.0319.29
5.0.00.0050.0499.29
4.4.90.0050.0269.29
4.4.80.0050.0239.29
4.4.70.0070.0249.29
4.4.60.0050.0259.29
4.4.50.0050.0279.29
4.4.40.0050.0389.29
4.4.30.0050.0249.29
4.4.20.0050.0259.29
4.4.10.0050.0249.29
4.4.00.0050.0399.29
4.3.110.0040.0269.29
4.3.100.0080.0209.29
4.3.90.0040.0259.29
4.3.80.0050.0389.29
4.3.70.0060.0239.29
4.3.60.0060.0229.29
4.3.50.0070.0249.29
4.3.40.0040.0379.29
4.3.30.0040.0269.29
4.3.20.0040.0249.29
4.3.10.0030.0259.29
4.3.00.0040.0249.29