3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = array(array(1,2), array(3,4,5), array(1,2,5,0)); var_dump(call_user_func_array('array_merge', $arr));

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.10.0100.00316.31
7.3.00.0070.01016.55
7.2.130.0040.01116.64
7.2.120.0040.01116.81
7.2.110.0040.01016.61
7.2.100.0030.00916.72
7.2.90.0030.01016.51
7.2.80.0070.00316.77
7.2.70.0080.00616.63
7.2.60.0130.00016.64
7.2.50.0070.00316.56
7.2.40.0040.01116.84
7.2.30.0070.00316.74
7.2.20.0000.01416.30
7.2.10.0060.00916.93
7.2.00.0180.00717.75
7.1.250.0000.01115.71
7.1.200.0070.00415.60
7.1.100.0060.00317.82
7.1.70.0040.00716.94
7.1.60.0120.00619.40
7.1.50.0250.01234.63
7.1.00.0000.05322.35
7.0.200.0080.00316.55
7.0.140.0030.07022.12
7.0.120.0000.03322.04
7.0.60.0170.05719.94
7.0.50.0070.06317.89
7.0.40.0070.04720.24
7.0.30.0230.07320.13
7.0.20.0200.06020.01
7.0.10.0100.06320.20
7.0.00.0070.04020.01
5.6.280.0070.06720.89
5.6.210.0000.05320.54
5.6.200.0070.08018.12
5.6.190.0030.08720.61
5.6.180.0300.04320.65
5.6.170.0230.05020.41
5.6.160.0100.08020.50
5.6.150.0130.07018.12
5.6.140.0070.05318.20
5.6.130.0030.08318.18
5.6.120.0000.04320.98
5.6.110.0000.04321.05
5.6.100.0200.07320.97
5.6.90.0070.08720.96
5.6.80.0170.06720.37
5.5.350.0200.03020.31
5.5.340.0100.06017.98
5.5.330.0070.07320.57
5.5.320.0200.04320.34
5.5.310.1270.06020.20
5.5.300.0070.04317.96
5.5.290.0000.08717.91
5.5.280.0030.05720.76
5.5.270.0070.06720.96
5.5.260.0170.07020.75
5.5.250.0170.08020.57
5.5.240.0100.07320.12
5.4.450.0000.04319.41
5.4.440.0700.03719.38
5.4.430.1630.03019.06
5.4.420.1570.04019.39
5.4.410.1530.04019.28
5.4.400.1600.03318.89
5.4.390.1370.03718.91
5.4.380.0930.03319.06
5.4.370.0030.03719.08
5.4.360.0070.03318.88
5.4.350.1000.03319.22
5.4.340.1500.04018.93
5.4.320.1770.04319.25
5.4.310.1600.03719.13
5.4.300.1800.04019.08
5.4.290.0570.06018.80
5.4.280.0100.07319.22
5.4.270.0270.06319.13
5.4.260.1770.04719.08
5.4.250.1630.03318.80
5.4.240.1700.04719.23
5.4.230.1530.03719.14
5.4.220.1800.04319.17
5.4.210.1730.04719.24
5.4.200.1900.04319.09
5.4.190.1730.03719.14
5.4.180.1600.04319.04
5.4.170.1770.03318.87
5.4.160.0830.04019.22
5.4.150.0030.03718.91
5.4.140.0000.05716.35
5.4.130.1530.04316.15
5.4.120.1700.03316.18
5.4.110.1600.03316.30
5.4.100.1600.03016.23
5.4.90.1500.04016.38
5.4.80.1770.04316.37
5.4.70.1630.02716.32
5.4.60.1630.02716.36
5.4.50.1570.03716.46
5.4.40.1600.04016.38
5.4.30.1770.04316.44
5.4.20.0100.03716.36
5.4.10.0030.05316.43
5.4.00.0800.06015.95
5.3.290.1600.04014.61
5.3.280.1470.03714.44
5.3.270.1870.05014.44
5.3.260.1700.03714.56
5.3.250.1770.02314.55
5.3.240.1600.03714.55
5.3.230.1700.04014.45
5.3.220.1770.03314.55
5.3.210.1830.04314.46
5.3.200.1530.03714.41
5.3.190.1300.05014.51
5.3.180.0030.03714.44
5.3.170.0070.03714.43
5.3.160.1330.04714.49
5.3.150.1500.03714.47
5.3.140.1670.04014.54
5.3.130.1800.04714.50
5.3.120.1700.04314.38
5.3.110.1370.03314.56
5.3.100.1700.04014.02
5.3.90.1430.03313.96
5.3.80.1700.04313.96
5.3.70.1500.04314.00
5.3.60.1430.03713.85
5.3.50.1700.04013.90
5.3.40.1730.03013.85
5.3.30.1730.04013.95
5.3.20.1430.03713.57
5.3.10.1670.04713.64
5.3.00.1670.05713.47
5.2.170.1230.03011.03
5.2.160.1400.04011.19
5.2.150.1270.02711.30
5.2.140.1330.03711.05
5.2.130.1430.02311.14
5.2.120.1330.03311.18
5.2.110.1400.03711.18
5.2.100.0870.03310.96
5.2.90.0070.05711.18
5.2.80.0030.05711.25
5.2.70.0470.03711.13
5.2.60.1400.03310.88
5.2.50.1200.03311.03
5.2.40.1070.02310.88
5.2.30.1170.03311.00
5.2.20.1070.02710.81
5.2.10.1200.03010.91
5.2.00.1100.03010.87
5.1.60.0670.04010.08
5.1.50.1170.02710.08
5.1.40.1170.0309.95
5.1.30.1170.03010.40
5.1.20.0970.03010.21
5.1.10.1100.0279.94
5.1.00.1270.03010.04
5.0.50.0530.0238.73
5.0.40.0030.0478.73
5.0.30.0030.0508.73
5.0.20.0000.0308.73
5.0.10.0030.0438.73
5.0.00.0000.0608.73
4.4.90.0000.0238.73
4.4.80.0070.0308.73
4.4.70.0100.0278.73
4.4.60.0200.0238.73
4.4.50.0530.0338.73
4.4.40.0670.0438.73
4.4.30.0630.0278.73
4.4.20.0500.0178.73
4.4.10.0500.0178.73
4.4.00.0630.0378.73
4.3.110.0730.0238.73
4.3.100.0530.0138.73
4.3.90.0600.0208.73
4.3.80.0530.0238.73
4.3.70.0600.0078.73
4.3.60.0530.0138.73
4.3.50.0530.0138.73
4.3.40.0570.0208.73
4.3.30.0300.0138.73
4.3.20.0300.0138.73
4.3.10.0270.0178.73
4.3.00.0300.0238.73