3v4l.org

run code in 300+ PHP versions simultaneously
<?php $source = [ 0=>[ ['foo'=>['bar']]], 1=>[ ['biz'=>'baz'], ['a'=>'b']] ]; $return = []; $return =call_user_func_array('array_merge', $source) var_dump($return);

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.6.80.0100.08020.32
5.5.240.0270.06720.25
5.4.400.0270.04019.25
5.4.390.0230.03319.15
5.4.380.0230.03719.09
5.4.370.0170.03719.24
5.4.360.0230.03319.24
5.4.350.0300.02718.98
5.4.340.0230.03318.99
5.4.320.0100.05019.24
5.4.310.0130.04019.08
5.4.300.0130.04319.09
5.4.290.0230.04019.07
5.4.280.0200.04318.98
5.4.270.0170.04719.22
5.4.260.0270.05719.18
5.4.250.0200.04018.86
5.4.240.0230.03019.18
5.4.230.0330.03319.21
5.4.220.0170.05719.13
5.4.210.0330.05019.05
5.4.200.0200.04019.15
5.4.190.0230.05719.21
5.4.180.0400.05718.84
5.4.170.0330.06719.16
5.4.160.0270.04019.29
5.4.150.0300.06319.13
5.4.140.0400.05716.32
5.4.130.0370.04316.46
5.4.120.0400.05316.49
5.4.110.0330.06716.53
5.4.100.0230.03716.55
5.4.90.0300.05016.37
5.4.80.0300.04716.52
5.4.70.0370.06716.36
5.4.60.0330.06316.54
5.4.50.0330.05716.25
5.4.40.0300.06016.25
5.4.30.0200.04716.32
5.4.20.0330.03316.43
5.4.10.0270.03716.32
5.4.00.0270.03315.86
5.3.290.0200.03714.71
5.3.280.0200.04014.47
5.3.270.0500.04014.55
5.3.260.0300.04314.58
5.3.250.0300.05314.51
5.3.240.0270.07714.54
5.3.230.0330.06014.46
5.3.220.0370.06714.45
5.3.210.0300.04714.66
5.3.200.0330.06714.61
5.3.190.0330.06014.40
5.3.180.0330.07014.42
5.3.170.0370.05014.41
5.3.160.0300.06714.61
5.3.150.0300.04714.38
5.3.140.0330.03714.50
5.3.130.0330.06014.39
5.3.120.0330.06714.48
5.3.110.0230.05014.53
5.3.100.0300.07313.87
5.3.90.0300.05013.89
5.3.80.0430.05713.79
5.3.70.0330.06714.04
5.3.60.0300.05313.98
5.3.50.0300.07013.74
5.3.40.0400.03713.74
5.3.30.0370.05313.78
5.3.20.0270.07013.71
5.3.10.0300.07013.56
5.3.00.0170.04313.47
5.2.170.0200.06311.02
5.2.160.0270.05310.98
5.2.150.0200.06711.16
5.2.140.0200.03311.19
5.2.130.0270.05311.04
5.2.120.0230.06011.01
5.2.110.0230.03710.98
5.2.100.0170.03010.96
5.2.90.0170.03011.15
5.2.80.0270.02310.96
5.2.70.0200.03010.95
5.2.60.0170.03311.09
5.2.50.0200.03010.95
5.2.40.0200.05710.85
5.2.30.0270.05011.02
5.2.20.0170.04010.88
5.2.10.0170.03710.86
5.2.00.0170.03710.77
5.1.60.0170.04710.77
5.1.50.0200.05010.77
5.1.40.0130.04710.77
5.1.30.0170.03710.77
5.1.20.0200.03010.77
5.1.10.0100.03310.77
5.1.00.0130.02710.77
5.0.50.0070.02010.77
5.0.40.0070.02010.77
5.0.30.0100.02710.77
5.0.20.0070.02010.77
5.0.10.0130.03310.77
5.0.00.0030.03710.77
4.4.90.0070.02010.77
4.4.80.0070.01710.77
4.4.70.0170.03310.77
4.4.60.0130.02710.77
4.4.50.0100.03310.77
4.4.40.0100.03310.77
4.4.30.0100.02010.77
4.4.20.0070.02010.77
4.4.10.0070.01710.77
4.4.00.0030.02710.77
4.3.110.0100.01310.77
4.3.100.0070.01710.77
4.3.90.0130.03010.77
4.3.80.0100.02310.77
4.3.70.0070.01710.77
4.3.60.0100.01310.77
4.3.50.0130.02710.77
4.3.40.0030.02710.77
4.3.30.0070.01010.77
4.3.20.0030.02010.77
4.3.10.0030.02010.77
4.3.00.0030.01710.77

preferences:
144.35 ms | 1394 KiB | 7 Q