3v4l.org

run code in 300+ PHP versions simultaneously
<?php $results = array( array( array('foo1'), array('foo2'), ), array( array('bar1'), array('bar2'), ), ); $rows = call_user_func_array('array_merge', $results); print_r($rows); echo var_export(array_merge($results[0], $results[1]), true);

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)
8.3.60.0110.00418.22
8.3.50.0050.01321.02
8.3.40.0100.01018.65
8.3.30.0060.00919.01
8.3.20.0000.00720.34
8.3.10.0040.00421.96
8.3.00.0000.00822.39
8.2.180.0070.01316.88
8.2.170.0110.00322.96
8.2.160.0000.01320.35
8.2.150.0040.00424.18
8.2.140.0090.00624.66
8.2.130.0060.00326.16
8.2.120.0030.00619.76
8.2.110.0080.00022.25
8.2.100.0080.00319.41
8.2.90.0080.00019.16
8.2.80.0040.00418.05
8.2.70.0040.00417.50
8.2.60.0000.00718.15
8.2.50.0050.00318.07
8.2.40.0000.00718.34
8.2.30.0000.00718.14
8.2.20.0040.00417.78
8.2.10.0000.00717.61
8.2.00.0030.00517.61
8.1.280.0080.00625.92
8.1.270.0080.00020.18
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00323.73
8.1.230.0060.00619.01
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0000.00917.25
8.1.190.0030.00517.53
8.1.180.0000.00818.64
8.1.170.0050.00318.57
8.1.160.0040.00422.16
8.1.150.0040.00418.59
8.1.140.0050.00217.32
8.1.130.0000.00717.88
8.1.120.0070.00017.48
8.1.110.0080.00017.32
8.1.100.0100.00017.43
8.1.90.0050.00217.45
8.1.80.0000.00717.32
8.1.70.0040.00417.35
8.1.60.0100.00017.52
8.1.50.0060.00317.41
8.1.40.0030.00517.35
8.1.30.0030.00617.58
8.1.20.0040.00417.63
8.1.10.0040.00417.59
8.1.00.0030.00717.59
8.0.300.0030.00318.77
8.0.290.0060.00317.16
8.0.280.0030.00318.41
8.0.270.0030.00317.25
8.0.260.0040.00416.83
8.0.250.0030.00316.96
8.0.240.0000.00816.98
8.0.230.0030.00316.80
8.0.220.0000.00716.88
8.0.210.0000.00716.69
8.0.200.0000.00716.89
8.0.190.0040.00416.98
8.0.180.0000.00816.76
8.0.170.0000.00816.79
8.0.160.0000.00816.88
8.0.150.0000.00816.81
8.0.140.0040.00316.82
8.0.130.0050.00013.30
8.0.120.0040.00416.71
8.0.110.0000.00716.73
8.0.100.0090.00016.63
8.0.90.0040.00416.85
8.0.80.0090.00616.85
8.0.70.0040.00416.66
8.0.60.0030.00516.73
8.0.50.0050.00216.71
8.0.30.0050.01316.88
8.0.20.0100.00817.40
8.0.10.0070.00016.90
8.0.00.0160.00416.64
7.4.330.0000.00515.00
7.4.320.0030.00316.32
7.4.300.0000.00616.43
7.4.290.0000.00716.47
7.4.280.0000.00716.29
7.4.270.0030.00316.46
7.4.260.0000.00716.46
7.4.250.0000.00716.27
7.4.240.0040.00316.46
7.4.230.0030.00316.56
7.4.220.0090.00916.57
7.4.210.0060.01016.49
7.4.200.0070.00016.56
7.4.190.0040.00416.39
7.4.160.0120.00316.48
7.4.150.0060.01017.40
7.4.140.0160.00517.86
7.4.130.0080.00916.46
7.4.120.0100.00616.46
7.4.110.0060.01116.27
7.4.100.0100.00716.67
7.4.90.0130.00316.33
7.4.80.0100.01019.39
7.4.70.0110.00416.34
7.4.60.0100.00716.34
7.4.50.0000.00816.56
7.4.40.0030.01022.77
7.4.30.0120.00416.64
7.4.00.0070.01014.69
7.3.330.0030.00313.11
7.3.320.0000.00613.11
7.3.310.0070.00016.09
7.3.300.0050.00216.05
7.3.290.0030.01216.19
7.3.280.0050.01016.21
7.3.270.0130.00317.40
7.3.260.0070.01216.39
7.3.250.0080.01116.29
7.3.240.0100.01016.43
7.3.230.0100.00716.39
7.3.210.0090.00916.30
7.3.200.0160.00719.39
7.3.190.0130.01016.43
7.3.180.0090.01216.17
7.3.170.0060.01016.29
7.3.160.0060.00916.25
7.3.120.0110.00414.46
7.2.330.0130.00316.74
7.2.320.0070.01116.50
7.2.310.0090.00916.23
7.2.300.0100.00716.33
7.2.290.0130.00316.62
7.2.00.0000.00819.03
7.1.100.0030.00918.39
7.1.70.0000.01116.92
7.1.60.0000.02419.82
7.1.50.0030.02016.89
7.1.00.0000.05322.49
7.0.200.0060.00316.63
7.0.140.0000.07722.01
7.0.60.0000.09719.77
7.0.50.0070.07717.79
7.0.40.0070.09019.96
7.0.30.0200.03320.34
7.0.20.0330.04320.20
7.0.10.0370.07320.21
7.0.00.0130.07320.07
5.6.280.0130.06320.81
5.6.210.0030.07720.49
5.6.200.0130.07018.22
5.6.190.0070.06320.51
5.6.180.3530.04720.73
5.6.170.0100.04720.48
5.6.160.0030.05720.59
5.6.150.0030.05318.28
5.6.140.0000.08318.28
5.6.130.0000.04318.27
5.6.120.0070.05020.95
5.6.110.0170.07720.95
5.6.100.0100.03320.99
5.6.90.0030.04020.87
5.6.80.0100.04720.35
5.6.70.0200.07020.35
5.5.350.0100.07720.48
5.5.340.0030.07318.08
5.5.330.0030.04020.37
5.5.320.0200.07020.39
5.5.310.0230.08320.27
5.5.300.0070.06717.96
5.5.290.0070.04317.98
5.5.280.0130.08320.89
5.5.270.0070.06320.97
5.5.260.0100.08020.76
5.5.250.0030.08320.66
5.5.240.0030.07320.15
5.4.450.0370.05719.59
5.4.440.0570.06019.48
5.4.430.0530.05019.44
5.4.420.0770.04719.47
5.4.410.0600.05019.32
5.4.400.0930.06318.77
5.4.390.0930.06018.63
5.4.380.0200.06318.62
5.4.370.0300.06018.59
5.4.360.0270.06318.76
5.4.350.0040.04312.00
5.4.340.0090.03812.00
5.4.320.0040.04312.48
5.4.310.0070.03812.48
5.4.300.0110.03712.48
5.4.290.0040.04212.48
5.4.280.0080.03712.38
5.4.270.0120.03612.38
5.4.260.0090.03912.38
5.4.250.0070.06018.71
5.4.240.0030.06318.90
5.4.230.0070.05718.73
5.4.220.0130.06018.88
5.4.210.0170.05019.00
5.4.200.0170.04719.00
5.4.190.0100.07018.89
5.4.180.0100.05018.97
5.4.170.0070.05718.88
5.4.160.0070.05318.72
5.4.150.0230.06718.96
5.4.140.0070.05316.39
5.4.130.0070.07316.50
5.4.120.0070.05016.40
5.4.110.0130.05316.54
5.4.100.0030.05016.53
5.4.90.0070.07316.45
5.4.80.0030.05316.32
5.4.70.0100.04716.32
5.4.60.0070.04716.42
5.4.50.0030.05016.34
5.4.40.0100.05016.29
5.4.30.0000.06016.41
5.4.20.0070.05016.37
5.4.10.0130.04316.32
5.4.00.0130.04316.02
5.3.290.0080.03812.80
5.3.280.0100.05014.41
5.3.270.0000.06014.68
5.3.260.0100.05014.61
5.3.250.0070.05314.68
5.3.240.0100.05714.76
5.3.230.0070.05314.66
5.3.220.0100.04714.64
5.3.210.0130.04714.56
5.3.200.0000.06714.56
5.3.190.0030.07314.56
5.3.180.0200.03714.73
5.3.170.0070.05314.64
5.3.160.0100.05014.57
5.3.150.0100.06014.65
5.3.140.0100.05014.53
5.3.130.0170.04314.53
5.3.120.0130.04314.62
5.3.110.0170.04714.54
5.3.100.0000.05714.20
5.3.90.0100.04714.14
5.3.80.0030.06314.17
5.3.70.0030.06314.00
5.3.60.0130.04314.18
5.3.50.0070.05313.85
5.3.40.0070.05314.11
5.3.30.0070.06014.06
5.3.20.0030.06013.52
5.3.10.0070.04713.80
5.3.00.0130.05013.70
5.2.170.0130.04711.20
5.2.160.0070.05311.24
5.2.150.0130.05011.36
5.2.140.0100.05711.20
5.2.130.0100.03711.09
5.2.120.0100.03311.07
5.2.110.0100.03711.05
5.2.100.0130.04311.08
5.2.90.0030.04311.09
5.2.80.0000.04711.04
5.2.70.0070.04011.16
5.2.60.0070.04011.12
5.2.50.0070.04011.19
5.2.40.0070.05310.96
5.2.30.0030.04010.95
5.2.20.0100.03311.01
5.2.10.0100.03310.93
5.2.00.0030.04310.78
5.1.60.0100.03010.03
5.1.50.0070.03310.09
5.1.40.0030.0379.91
5.1.30.0030.05010.27
5.1.20.0100.03310.44
5.1.10.0070.03710.03
5.1.00.0070.0339.96
5.0.50.0030.0308.70
5.0.40.0030.0278.70
5.0.30.0000.0478.70
5.0.20.0100.0338.70
5.0.10.0000.0338.70
5.0.00.0030.0508.70
4.4.90.0000.0237.85
4.4.80.0000.0277.85
4.4.70.0030.0207.85
4.4.60.0030.0207.85
4.4.50.0030.0207.85
4.4.40.0070.0307.85
4.4.30.0030.0207.85
4.4.20.0100.0137.85
4.4.10.0030.0208.70
4.4.00.0000.0378.70
4.3.110.0030.0208.70
4.3.100.0000.0238.70
4.3.90.0030.0208.70
4.3.80.0070.0278.70
4.3.70.0030.0208.70
4.3.60.0030.0208.70
4.3.50.0070.0278.70
4.3.40.0030.0478.70
4.3.30.0030.0308.70
4.3.20.0000.0238.70
4.3.10.0000.0308.70
4.3.00.0070.0276.50

preferences:
42.5 ms | 401 KiB | 5 Q