3v4l.org

run code in 300+ PHP versions simultaneously
(; <?php $arrays = array( 0 => array( 0 => 'one', 1 => 'two', 2 => 'three' ), 1 => array( 0 => 'four', 1 => 'five', 2 => 'six' ), 2 => array( 0 => 'seven', 1 => 'eight', 2 => 'nine' ) ); print_r(array_reduce($arrays, 'array_merge', []));

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.0040.01118.43
8.3.50.0110.00419.61
8.3.40.0150.00318.71
8.3.30.0120.00318.86
8.3.20.0040.00420.07
8.3.10.0000.00823.48
8.3.00.0030.00519.38
8.2.180.0090.00618.26
8.2.170.0040.01122.96
8.2.160.0070.00720.50
8.2.150.0080.00024.18
8.2.140.0030.00524.66
8.2.130.0050.00326.16
8.2.120.0080.00020.82
8.2.110.0110.00021.03
8.2.100.0000.01117.91
8.2.90.0030.00519.25
8.2.80.0030.00617.97
8.2.70.0060.00317.63
8.2.60.0080.00017.80
8.2.50.0030.00618.07
8.2.40.0030.00618.03
8.2.30.0000.00717.84
8.2.20.0000.00717.60
8.2.10.0050.00218.08
8.2.00.0050.00317.58
8.1.280.0110.00425.92
8.1.270.0040.00423.89
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.00922.42
8.1.230.0110.00020.85
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0070.00317.22
8.1.190.0060.00317.13
8.1.180.0000.00818.10
8.1.170.0040.00418.46
8.1.160.0040.00421.98
8.1.150.0070.00018.80
8.1.140.0000.00817.37
8.1.130.0070.00017.88
8.1.120.0050.00317.45
8.1.110.0040.00317.36
8.1.100.0000.00717.27
8.1.90.0000.00717.38
8.1.80.0000.00717.37
8.1.70.0000.00717.32
8.1.60.0060.00617.41
8.1.50.0050.00317.50
8.1.40.0000.01017.45
8.1.30.0040.00417.54
8.1.20.0000.00717.59
8.1.10.0000.00717.48
8.1.00.0030.00617.36
8.0.300.0020.00518.77
8.0.290.0030.00416.63
8.0.280.0000.00818.43
8.0.270.0050.00217.11
8.0.260.0030.00317.24
8.0.250.0000.00616.72
8.0.240.0040.00416.89
8.0.230.0030.00316.82
8.0.220.0030.00316.71
8.0.210.0050.00316.71
8.0.200.0040.00416.88
8.0.190.0000.00716.74
8.0.180.0000.00716.82
8.0.170.0000.00716.81
8.0.160.0050.00216.85
8.0.150.0070.00016.73
8.0.140.0070.00016.73
8.0.130.0030.00313.24
8.0.120.0000.00816.72
8.0.110.0050.00216.63
8.0.100.0030.00516.80
8.0.90.0040.00416.68
8.0.80.0060.01016.77
8.0.70.0000.00816.71
8.0.60.0000.00816.71
8.0.50.0070.00016.75
8.0.30.0090.00916.90
8.0.20.0170.00517.40
8.0.10.0000.00716.84
8.0.00.0110.00616.65
7.4.330.0000.00815.00
7.4.320.0000.00616.43
7.4.300.0040.00416.34
7.4.290.0050.00216.55
7.4.280.0040.00416.42
7.4.270.0000.00916.54
7.4.260.0000.00616.40
7.4.250.0000.00816.38
7.4.240.0020.00516.43
7.4.230.0040.00416.18
7.4.220.0100.01416.57
7.4.210.0040.01116.52
7.4.200.0030.00316.61
7.4.160.0090.00716.40
7.4.150.0060.01217.40
7.4.140.0100.00717.86
7.4.130.0100.00716.53
7.4.120.0110.01216.40
7.4.110.0070.01316.36
7.4.100.0100.00716.47
7.4.90.0130.00316.52
7.4.80.0120.00419.39
7.4.70.0060.01216.55
7.4.60.0060.01316.31
7.4.50.0000.00816.56
7.4.40.0210.00016.49
7.4.30.0040.01216.44
7.4.00.0060.01114.87
7.3.330.0060.00013.00
7.3.320.0030.00312.90
7.3.310.0000.00716.06
7.3.300.0030.00316.14
7.3.290.0030.01616.12
7.3.280.0070.00816.12
7.3.270.0130.00717.40
7.3.260.0130.01016.59
7.3.250.0080.01316.43
7.3.240.0140.00416.33
7.3.230.0110.00716.39
7.3.210.0100.01016.36
7.3.200.0160.00819.39
7.3.190.0120.00616.05
7.3.180.0130.00316.15
7.3.170.0120.00416.40
7.3.160.0000.01516.39
7.3.120.0060.01114.54
7.3.110.0080.00814.59
7.3.100.0090.00714.82
7.3.90.0030.01114.73
7.3.80.0080.00614.68
7.3.70.0050.01114.83
7.3.60.0020.01114.71
7.3.50.0070.00814.49
7.3.40.0030.00814.61
7.3.30.0030.00914.62
7.3.20.0100.00716.67
7.3.10.0070.00516.63
7.3.00.0090.00516.53
7.2.330.0060.01616.31
7.2.320.0150.00616.25
7.2.310.0000.01716.45
7.2.300.0060.01016.36
7.2.290.0000.01816.41
7.2.250.0060.01115.00
7.2.240.0120.00814.87
7.2.230.0050.01015.14
7.2.220.0060.00914.61
7.2.210.0050.01014.79
7.2.200.0050.01215.07
7.2.190.0090.00614.82
7.2.180.0090.00314.85
7.2.170.0070.00514.81
7.1.330.0080.00715.73
7.1.320.0060.01015.82
7.1.310.0070.00715.86
7.1.300.0040.01115.63
7.1.290.0030.00915.83
7.1.280.0050.00715.65
7.1.270.0060.00915.53
7.1.260.0040.01115.64
7.1.70.0040.00417.05
7.1.60.0170.00719.46
7.1.50.0040.01916.89
7.1.00.0070.07322.40
7.0.200.0030.00616.77
7.0.140.0070.07322.21
7.0.60.0070.09020.07
7.0.50.0070.04017.97
7.0.40.0100.07020.27
7.0.30.0270.05320.07
7.0.20.0300.07720.13
7.0.10.0100.07320.33
7.0.00.0030.06320.12
5.6.280.0000.07721.12
5.6.210.0030.07720.50
5.6.200.0130.07718.15
5.6.190.0070.05720.77
5.6.180.0370.04020.67
5.6.170.0200.08320.43
5.6.160.0070.06020.57
5.6.150.0170.05018.18
5.6.140.0100.08018.18
5.6.130.0100.07718.13
5.6.120.0030.05320.83
5.6.110.0070.08021.08
5.6.100.0100.07721.08
5.6.90.0130.03320.99
5.6.80.0070.05020.36
5.5.350.0230.07020.36
5.5.340.0070.08018.08
5.5.330.0000.05320.43
5.5.320.0430.04720.32
5.5.310.0270.06320.29
5.5.300.0030.05017.99
5.5.290.0130.07717.93
5.5.280.0130.08020.77
5.5.270.0170.07720.72
5.5.260.0070.03720.95
5.5.250.0030.04720.61
5.5.240.0170.07320.36
5.4.450.0600.05019.40
5.4.440.0370.03719.41
5.4.430.0270.04319.47
5.4.420.0300.04319.54
5.4.410.0430.04319.41
5.4.400.0400.03318.95
5.4.390.0530.03718.95
5.4.380.0230.06018.73
5.4.370.0300.05318.70
5.4.360.0330.05718.68
5.4.350.0470.06018.73
5.4.340.0270.05718.63
5.4.320.0060.03712.49
5.4.310.0060.03812.48
5.4.300.0070.03912.48
5.4.290.0030.04012.48
5.4.280.0090.03612.38
5.4.270.0070.03512.38
5.4.260.0050.03712.38
5.4.250.0030.03912.38
5.4.240.0030.03812.38
5.4.230.0060.03812.37
5.4.220.0130.02812.37
5.4.210.0040.03612.37
5.4.200.0060.04312.37
5.4.190.0030.03912.36
5.4.180.0060.03412.37
5.4.170.0040.03612.38
5.4.160.0060.03412.37
5.4.150.0090.03212.37
5.4.140.0060.03612.05
5.4.130.0050.03612.04
5.4.120.0060.03412.00
5.4.110.0060.03411.99
5.4.100.0080.03512.00
5.4.90.0040.03812.00
5.4.80.0030.04312.00
5.4.70.0040.03511.99
5.4.60.0060.03311.99
5.4.50.0070.03311.99
5.4.40.0060.03511.98
5.4.30.0030.03711.98
5.4.20.0030.03611.98
5.4.10.0020.03711.98
5.4.00.0050.03411.47
5.3.290.0040.03912.80
5.3.280.0060.03512.71
5.3.270.0060.03712.72
5.3.260.0070.03612.72
5.3.250.0080.03412.72
5.3.240.0050.03712.72
5.3.230.0020.04212.71
5.3.220.0060.04012.68
5.3.210.0060.03712.68
5.3.200.0060.03512.68
5.3.190.0060.04612.68
5.3.180.0050.03612.67
5.3.170.0040.03712.67
5.3.160.0080.03312.67
5.3.150.0050.03812.67
5.3.140.0100.03312.66
5.3.130.0050.03812.66
5.3.120.0060.03712.66
5.3.110.0070.03712.66
5.3.100.0050.03712.12
5.3.90.0050.03712.08
5.3.80.0060.03412.07
5.3.70.0070.03312.08
5.3.60.0070.03912.06
5.3.50.0050.03512.00
5.3.40.0100.04012.00
5.3.30.0060.03411.95
5.3.20.0060.03511.73
5.3.10.0050.03511.70
5.3.00.0030.03811.69
5.2.170.0040.0329.18
5.2.160.0050.0279.18
5.2.150.0020.0329.19
5.2.140.0040.0299.18
5.2.130.0020.0359.14
5.2.120.0080.0289.14
5.2.110.0040.0329.15
5.2.100.0040.0279.15
5.2.90.0050.0289.14
5.2.80.0070.0299.14
5.2.70.0060.0299.14
5.2.60.0040.0299.09
5.2.50.0050.0339.06
5.2.40.0040.0289.04
5.2.30.0040.0299.02
5.2.20.0070.0259.00
5.2.10.0070.0288.93
5.2.00.0040.0298.78
5.1.60.0040.0238.07
5.1.50.0060.0238.07
5.1.40.0040.0248.05
5.1.30.0030.0278.40
5.1.20.0070.0238.43
5.1.10.0060.0238.14
5.1.00.0020.0318.14
5.0.50.0010.0266.63
5.0.40.0010.0236.48
5.0.30.0070.0286.29
5.0.20.0020.0216.27
5.0.10.0080.0206.24
5.0.00.0030.0306.23
4.4.90.0020.0164.78
4.4.80.0030.0154.75
4.4.70.0030.0154.76
4.4.60.0020.0164.75
4.4.50.0020.0164.77
4.4.40.0030.0244.71
4.4.30.0030.0144.76
4.4.20.0040.0144.84
4.4.10.0030.0154.85
4.4.00.0020.0254.76
4.3.110.0030.0194.67
4.3.100.0010.0234.67
4.3.90.0040.0194.63
4.3.80.0020.0324.59
4.3.70.0040.0154.63
4.3.60.0010.0164.63
4.3.50.0010.0174.62
4.3.40.0020.0254.53
4.3.30.0030.0153.28
4.3.20.0000.0183.26
4.3.10.0020.0163.23
4.3.00.0070.01318.41

preferences:
62.51 ms | 400 KiB | 5 Q