3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump((object)[]);

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.20.1210.01014.67
7.2.60.0000.01216.63
7.2.00.0090.01319.26
7.1.200.0030.00715.52
7.1.100.0030.00718.11
7.1.70.0030.00717.05
7.1.60.0030.01016.86
7.1.50.0070.00316.65
7.1.40.0030.01016.63
7.1.30.0050.00716.57
7.1.20.0080.00516.64
7.1.10.0000.01816.44
7.1.00.0420.00314.72
7.0.200.0040.00416.69
7.0.190.0040.00416.70
7.0.180.0050.00516.05
7.0.170.0000.01015.97
7.0.160.0030.00616.23
7.0.150.0080.00416.31
7.0.140.0490.00314.69
7.0.130.0520.00314.69
7.0.120.0590.00314.69
7.0.110.0780.01314.69
7.0.100.0570.01014.69
7.0.90.0490.01014.69
7.0.80.0530.00914.69
7.0.70.0630.01314.69
7.0.60.0590.00314.69
7.0.50.8120.00714.69
7.0.40.0090.00314.69
7.0.30.0090.00814.69
7.0.20.0000.01614.69
7.0.10.0170.00014.69
7.0.00.0030.00714.69
hhvm-3.17.30.0360.08688.28
hhvm-3.15.40.0530.08284.43
hhvm-3.13.20.0470.10795.94
hhvm-3.12.140.0210.10396.50
hhvm-3.11.10.0810.12886.27
hhvm-3.10.10.0540.12983.38
5.6.300.0060.04520.99
5.6.290.0100.04220.78
5.6.280.0160.03420.99
5.6.270.0090.04220.80
5.6.260.0110.04221.06
5.6.250.0110.04720.89
5.6.240.0150.04120.83
5.6.230.0060.05720.93
5.6.220.0040.04720.80
5.6.210.0090.04020.60
5.6.200.0040.06020.92
5.6.190.0030.05120.91
5.6.180.0130.05420.76
5.6.170.0100.04520.84
5.6.160.0100.03920.98
5.6.150.0240.06120.75
5.6.140.0100.04421.02
5.6.130.0100.04420.80
5.6.120.0170.03820.82
5.6.110.0070.04620.71
5.6.100.0030.04920.79
5.6.90.0160.04520.80
5.6.80.0060.03920.17
5.6.70.0180.03620.18
5.6.60.0030.04320.31
5.6.50.0070.04220.42
5.6.40.0030.04820.13
5.6.30.0040.05120.33
5.6.20.0100.04520.29
5.6.10.0130.03620.38
5.6.00.0040.04520.16
5.5.380.0030.04717.45
5.5.370.0140.07517.48
5.5.360.0040.04717.50
5.5.350.0070.05817.50
5.5.340.0070.04617.82
5.5.330.0100.03818.02
5.5.320.0190.06417.99
5.5.310.0030.04818.01
5.5.300.0130.07317.72
5.5.290.0070.04417.86
5.5.280.0110.05317.72
5.5.270.0070.04117.71
5.5.260.0060.04517.98
5.5.250.0090.03817.82
5.5.240.0070.06617.37
5.5.230.0200.04817.48
5.5.220.0110.03317.33
5.5.210.0170.04817.49
5.5.200.0030.04517.08
5.5.190.0100.03917.03
5.5.180.0160.04217.37
5.5.160.0100.04117.37
5.5.150.0100.03417.40
5.5.140.0040.04017.30
5.5.130.0030.04417.29
5.5.120.0070.04517.38
5.5.110.0070.03717.07
5.5.100.0130.03617.07
5.5.90.0100.03917.18
5.5.80.0030.04517.31
5.5.70.0060.04817.05
5.5.60.0070.04217.21
5.5.50.0070.04016.96
5.5.40.0060.04817.17
5.5.30.0140.03117.30
5.5.20.0070.04417.05
5.5.10.0130.03517.25
5.5.00.0070.03917.24
5.4.450.0170.04319.30
5.4.440.0090.04119.20
5.4.430.0100.04419.20
5.4.420.0070.04119.37
5.4.410.0160.03819.30
5.4.400.0100.06218.88
5.4.390.0040.04619.12
5.4.380.0070.03618.99
5.4.370.0030.06518.82
5.4.360.0070.03819.05
5.4.350.0100.04419.01
5.4.340.0030.04119.06
5.4.320.0100.03819.13
5.4.310.0030.04319.05
5.4.300.0130.03619.12
5.4.290.0100.03319.12
5.4.280.0070.04219.13
5.4.270.0130.03719.02
5.4.260.0100.03219.07
5.4.250.0110.03218.97
5.4.240.0160.03819.04
5.4.230.0110.04419.14
5.4.220.0070.04018.98
5.4.210.0200.02518.86
5.4.200.0100.05619.13
5.4.190.0090.03919.02
5.4.180.0030.04919.10
5.4.170.0130.03418.86
5.4.160.0110.04019.08
5.4.150.0090.03419.06
5.4.140.0130.03316.63
5.4.130.0100.03116.49
5.4.120.0060.03616.68
5.4.110.0100.03316.33
5.4.100.0000.04116.60
5.4.90.0100.03616.47
5.4.80.0030.03816.64
5.4.70.0070.03616.46
5.4.60.0140.02716.36
5.4.50.0040.04016.38
5.4.40.0040.03916.38
5.4.30.0070.03916.63
5.4.20.0030.03716.54
5.4.10.0160.04616.41
5.4.00.0170.02615.89
5.3.290.0170.03814.79
5.3.280.0000.04114.72
5.3.270.0070.04314.72
5.3.260.0120.03414.75
5.3.250.0100.04014.69
5.3.240.0070.04314.75
5.3.230.0000.04514.69
5.3.220.0100.04614.69
5.3.210.0070.04014.69
5.3.200.0070.03514.69
5.3.190.0090.03414.69
5.3.180.0100.03514.69
5.3.170.0090.03714.69
5.3.160.0070.03614.69
5.3.150.0070.03714.71
5.3.140.0070.03414.69
5.3.130.0070.03714.69
5.3.120.0000.04614.69
5.3.110.0130.07914.69
5.3.100.0030.03814.69
5.3.90.0030.03814.69
5.3.80.0030.04914.69
5.3.70.0070.06214.69
5.3.60.0040.04714.69
5.3.50.0030.04114.69
5.3.40.0100.03814.69
5.3.30.0070.03414.69
5.3.20.0030.03814.69
5.3.10.0100.03514.69
5.3.00.0060.03514.69
5.2.170.0040.03514.69
5.2.160.0070.05814.69
5.2.150.0130.02314.69
5.2.140.0030.03114.69
5.2.130.0000.03614.69
5.2.120.0040.03014.69
5.2.110.0030.03014.69
5.2.100.0030.03114.69
5.2.90.0030.02914.69
5.2.80.0000.03414.69
5.2.70.0060.03114.69
5.2.60.0040.07014.69
5.2.50.0060.03014.69
5.2.40.0070.05114.69
5.2.30.0240.03014.69
5.2.20.0000.03314.69
5.2.10.0060.04514.69
5.2.00.0060.06814.69
5.1.60.0070.02214.69
5.1.50.0100.02014.69
5.1.40.0040.02814.69
5.1.30.0070.02614.69
5.1.20.0040.03614.69
5.1.10.0040.02814.69
5.1.00.0000.02914.69
5.0.50.0090.01814.69
5.0.40.0000.02214.69
5.0.30.0000.03414.69
5.0.20.0000.03614.69
5.0.10.0040.02314.69
5.0.00.0070.02814.69
4.4.90.0000.01914.69
4.4.80.0040.02414.69
4.4.70.0030.03014.69
4.4.60.0090.03014.69
4.4.50.0110.02514.69
4.4.40.0000.02714.69
4.4.30.0040.01414.69
4.4.20.0030.01714.69
4.4.10.0040.01414.69
4.4.00.0090.02214.69
4.3.110.0040.01514.69
4.3.100.0000.01814.69
4.3.90.0030.01314.69
4.3.80.0100.04514.69
4.3.70.0060.02314.69
4.3.60.0000.01714.69
4.3.50.0030.02214.69
4.3.40.0070.03814.69
4.3.30.0030.03814.69
4.3.20.0000.03314.69
4.3.10.0000.03514.69
4.3.00.0000.01614.69