3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = Array ( 0 => 'Charcoal', 1 => 'Natural Gas', 2 => 'Combo' ), Array ( 0 => 'Charcoal', 1 => 'Propane', 2 => 'Combo' ), Array ( 0 => 'Charcoal', 1 => 'Propane', 2 => 'Natural Gas', 3 => 'Combo' ), Array ( 0 => 'Natural Gas', ), Array ( 0 => 'Natural Gas', 1 => 'Propane', ), Array ( 0 => 'Propane', ), Array ( 0 => '660 sq. inches' ), Array ( 0 => '740 sq. inches' ), Array ( 0 => '761 sq. inches' ), Array ( 0 => '788 sq. inches' ), Array ( 0 => '792 sq. inches' ); $result = call_user_func_array('array_merge', $data); var_dump($result);

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).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.270.0130.07018.72
5.4.260.0270.05718.72
5.4.250.0130.05718.98
5.4.240.0130.05018.77
5.4.230.0100.07318.99
5.4.220.0100.05318.80
5.4.210.0100.07018.88
5.4.200.0170.05018.96
5.4.190.0070.05718.93
5.4.180.0130.07018.80
5.4.170.0070.06318.96
5.4.160.0200.06018.79
5.4.150.0130.07018.89
5.4.140.0130.06016.45
5.4.130.0170.04316.39
5.4.120.0170.06716.38
5.4.110.0100.06716.46
5.4.100.0030.05716.39
5.4.90.0130.05016.46
5.4.80.0100.07316.29
5.4.70.0130.06016.55
5.4.60.0100.07316.45
5.4.50.0070.05016.43
5.4.40.0170.04316.61
5.4.30.0070.06016.52
5.4.20.0130.04316.41
5.4.10.0100.05716.52
5.4.00.0070.04715.89
5.3.280.0000.06014.69
5.3.270.0030.06014.62
5.3.260.0100.06714.61
5.3.250.0130.04714.62
5.3.240.0130.05014.49
5.3.230.0130.04714.51
5.3.220.0100.06314.44
5.3.210.0170.06314.60
5.3.200.0070.06714.61
5.3.190.0070.07314.58
5.3.180.0100.05014.67
5.3.170.0000.05714.61
5.3.160.0130.07314.66
5.3.150.0200.06314.34
5.3.140.0100.05014.47
5.3.130.0100.05314.64
5.3.120.0100.05014.54
5.3.110.0030.07714.47
5.3.100.0070.07014.05
5.3.90.0000.05714.06
5.3.80.0000.05713.72
5.3.70.0070.06314.17
5.3.60.0100.04713.70
5.3.50.0030.05313.80
5.3.40.0000.06313.97
5.3.30.0170.04313.82
5.3.20.0070.05013.56
5.3.10.0030.05013.77
5.3.00.0070.05313.69
5.2.170.0030.05011.16
5.2.160.0070.03711.04
5.2.150.0030.04711.02
5.2.140.0070.04311.15
5.2.130.0030.04711.03
5.2.120.0130.03710.98
5.2.110.0100.05010.86
5.2.100.0100.04011.01
5.2.90.0030.06011.01
5.2.80.0070.04711.24
5.2.70.0100.05311.10
5.2.60.0000.06311.14
5.2.50.0070.04010.93
5.2.40.0130.03010.91
5.2.30.0100.04311.06
5.2.20.0030.04011.07
5.2.10.0030.04010.80
5.2.00.0100.03710.63
5.1.60.0100.03310.08
5.1.50.0130.04010.23
5.1.40.0130.0279.92
5.1.30.0100.03310.32
5.1.20.0070.05010.52
5.1.10.0070.03710.21
5.1.00.0030.03710.02
5.0.50.0030.0308.58
5.0.40.0030.0378.47
5.0.30.0100.0478.45
5.0.20.0070.0238.27
5.0.10.0030.0338.41
5.0.00.0030.0438.12
4.4.90.0030.0306.12
4.4.80.0000.0276.12
4.4.70.0030.0206.12
4.4.60.0030.0276.12
4.4.50.0030.0236.12
4.4.40.0030.0336.12
4.4.30.0030.0206.12
4.4.20.0030.0306.12
4.4.10.0070.0236.12
4.4.00.0000.0436.12
4.3.110.0070.0176.12
4.3.100.0070.0276.12
4.3.90.0000.0276.12
4.3.80.0000.0336.12
4.3.70.0100.0206.12
4.3.60.0000.0236.12
4.3.50.0100.0236.12
4.3.40.0070.0376.12
4.3.30.0030.0206.12
4.3.20.0070.0236.12
4.3.10.0030.0276.12
4.3.00.0030.0276.90

preferences:
143.45 ms | 1386 KiB | 7 Q