3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( array('first', 'second'), array('next', 'more') ); var_dump(array_merge(...$array));

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.4.10.0170.00317.54
8.3.140.0080.00016.93
8.3.130.0080.00018.55
8.3.120.0080.00819.12
8.3.110.0060.00320.94
8.3.100.0290.00730.58
8.3.90.0160.00416.77
8.3.80.0060.00318.18
8.3.70.0210.00316.63
8.3.60.0100.00716.50
8.3.50.0120.00622.77
8.3.40.0060.01518.70
8.3.30.0050.00818.88
8.3.20.0040.00420.04
8.3.10.0060.00320.48
8.3.00.0070.00019.19
8.2.260.0000.00820.76
8.2.250.0070.00718.41
8.2.240.0040.01118.76
8.2.230.0080.00022.58
8.2.220.0090.00024.06
8.2.210.0110.00726.77
8.2.200.0100.00018.16
8.2.190.0160.00616.58
8.2.180.0100.00716.63
8.2.170.0120.00922.96
8.2.160.0070.00720.34
8.2.150.0040.00424.18
8.2.140.0070.01124.66
8.2.130.0080.00026.16
8.2.120.0070.00021.02
8.2.110.0060.00321.04
8.2.100.0110.00020.54
8.2.90.0170.00018.08
8.2.80.0030.00617.97
8.2.70.0030.00617.93
8.2.60.0000.00817.80
8.2.50.0040.00418.10
8.2.40.0000.00720.42
8.2.30.0040.00421.20
8.2.20.0030.00517.64
8.2.10.0020.00617.83
8.2.00.0040.00417.65
8.1.310.0070.01116.68
8.1.300.0080.00017.70
8.1.290.0090.00018.88
8.1.280.0180.00625.92
8.1.270.0040.00423.99
8.1.260.0040.01128.09
8.1.250.0070.00728.09
8.1.240.0000.00922.15
8.1.230.0070.00418.99
8.1.220.0000.00917.79
8.1.210.0030.00718.77
8.1.200.0030.00617.34
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0000.00818.46
8.1.160.0040.00422.14
8.1.150.0040.00418.82
8.1.140.0020.00517.38
8.1.130.0040.00517.37
8.1.120.0020.00717.43
8.1.110.0040.00517.43
8.1.100.0080.00117.42
8.1.90.0080.00217.38
8.1.80.0050.00517.34
8.1.70.0040.00517.42
8.1.60.0050.00517.48
8.1.50.0060.00417.46
8.1.40.0110.00317.44
8.1.30.0120.00417.55
8.1.20.0140.00217.55
8.1.10.0100.00617.42
8.1.00.0100.00417.31
8.0.300.0040.00419.58
8.0.290.0040.00416.58
8.0.280.0000.00818.36
8.0.270.0030.00316.79
8.0.260.0040.00516.82
8.0.250.0040.00516.87
8.0.240.0060.00416.89
8.0.230.0050.00516.81
8.0.220.0050.00416.81
8.0.210.0050.00516.89
8.0.200.0050.00516.84
8.0.190.0060.00516.85
8.0.180.0090.00416.83
8.0.170.0080.00416.79
8.0.160.0050.00716.87
8.0.150.0070.00516.76
8.0.140.0070.00616.73
8.0.130.0090.00416.07
8.0.120.0080.00516.78
8.0.110.0080.00416.82
8.0.100.0080.00516.78
8.0.90.0100.00316.77
8.0.80.0100.00416.79
8.0.70.0120.00216.78
8.0.60.0090.00416.78
8.0.50.0080.00416.81
8.0.30.0100.00616.86
8.0.20.0090.00617.00
8.0.10.0070.00616.85
8.0.00.0070.00716.80
7.4.330.0050.00716.09
7.4.320.0100.00316.59
7.4.300.0110.00316.60
7.4.290.0140.00416.58
7.4.280.0140.00416.52
7.4.270.0140.00216.53
7.4.260.0110.00715.86
7.4.250.0140.00416.49
7.4.240.0100.00316.50
7.4.230.0080.00616.49
7.4.220.0110.00416.53
7.4.210.0100.00416.47
7.4.200.0090.00316.49
7.4.190.0120.00316.56
7.4.180.0120.00216.56
7.4.160.0080.00616.51
7.4.150.0110.00316.61
7.4.140.0120.00516.85
7.4.130.0100.00516.39
7.4.120.0110.00516.43
7.4.110.0120.00516.42
7.4.100.0090.00516.41
7.4.90.0080.00516.45
7.4.80.0080.00616.39
7.4.70.0110.00516.39
7.4.60.0100.00716.40
7.4.50.0100.00416.32
7.4.40.0080.00716.36
7.4.30.0080.00616.41
7.4.20.0060.00716.40
7.4.10.0070.00416.45
7.4.00.0050.00815.89
7.3.330.0100.00615.66
7.3.320.0110.00415.65
7.3.310.0100.00416.26
7.3.300.0090.00516.31
7.3.290.0100.00516.22
7.3.280.0100.00616.17
7.3.270.0110.00516.48
7.3.260.0130.00316.21
7.3.250.0120.00416.30
7.3.240.0130.00316.24
7.3.230.0100.00616.31
7.3.220.0100.00516.23
7.3.210.0110.00416.31
7.3.200.0090.00816.70
7.3.190.0120.00516.26
7.3.180.0110.00416.26
7.3.170.0090.00716.26
7.3.160.0100.00616.27
7.3.150.0110.00416.20
7.3.140.0120.00516.24
7.3.130.0140.00316.21
7.3.120.0110.00515.88
7.3.110.0100.00615.92
7.3.100.0120.00415.97
7.3.90.0080.00715.79
7.3.80.0100.00615.72
7.3.70.0110.00615.75
7.3.60.0100.00615.74
7.3.50.0110.00515.79
7.3.40.0100.00515.75
7.3.30.0100.00515.75
7.3.20.0120.00516.71
7.3.10.0140.00516.46
7.3.00.0140.00616.43
7.2.340.0120.00416.32
7.2.330.0120.00416.37
7.2.320.0110.00416.30
7.2.310.0130.00616.29
7.2.300.0110.00616.32
7.2.290.0100.00616.29
7.2.280.0080.00816.34
7.2.270.0110.00516.28
7.2.260.0100.00616.29
7.2.250.0080.00915.94
7.2.240.0110.00615.99
7.2.230.0090.00716.01
7.2.220.0080.00815.79
7.2.210.0080.00815.85
7.2.200.0090.00815.83
7.2.190.0080.00715.85
7.2.180.0090.00715.88
7.2.170.0100.00615.84
7.2.160.0120.00416.21
7.2.150.0100.00616.81
7.2.140.0180.00516.90
7.2.130.0150.00716.66
7.2.120.0140.00716.67
7.2.110.0180.00316.66
7.2.100.0150.00516.66
7.2.90.0160.00516.38
7.2.80.0140.00616.36
7.2.70.0310.00716.38
7.2.60.0480.00716.27
7.2.50.0640.00516.31
7.2.40.0670.00716.38
7.2.30.0530.00716.46
7.2.20.0540.00616.46
7.2.10.0510.01016.42
7.2.00.0420.00716.48
7.1.330.0120.00616.22
7.1.320.0100.00715.97
7.1.310.0100.00615.95
7.1.300.0090.00815.94
7.1.290.0130.00515.96
7.1.280.0130.00516.00
7.1.270.0100.00615.93
7.1.260.0100.00715.97
7.1.250.0150.00415.67
7.1.240.0170.00415.74
7.1.230.0170.00615.74
7.1.220.0200.00315.73
7.1.210.0340.00615.51
7.1.200.0250.00615.56
7.1.190.0340.00515.52
7.1.180.0150.00615.47
7.1.170.0550.00815.33
7.1.160.0790.00715.59
7.1.150.0780.00615.74
7.1.140.0550.00815.67
7.1.130.0560.00815.77
7.1.120.0520.00715.68
7.1.110.0540.00615.52
7.1.100.0560.00715.51
7.1.90.0600.00915.61
7.1.80.0730.00815.59
7.1.70.0560.00815.40
7.1.60.0600.00720.40
7.1.50.0490.00720.23
7.1.40.0630.00820.20
7.1.30.0580.00820.25
7.1.20.0470.00920.28
7.1.10.0360.00615.34
7.1.00.0360.00715.35
7.0.330.0190.00415.45
7.0.320.0190.00515.42
7.0.310.0200.00515.21
7.0.300.0820.00714.97
7.0.290.0720.00715.26
7.0.280.0180.00615.18
7.0.270.0440.00715.43
7.0.260.0470.00615.37
7.0.250.0540.00615.32
7.0.240.0590.00815.32
7.0.230.0640.00615.33
7.0.220.0620.00615.27
7.0.210.0530.00715.11
7.0.200.0430.00815.13
7.0.190.0450.00715.13
7.0.180.0430.00615.09
7.0.170.0550.00815.07
7.0.160.0430.00615.08
7.0.150.0390.00715.07
7.0.140.0360.00815.07
7.0.130.0370.00815.15
7.0.120.0470.00515.14
7.0.110.0220.00715.03
7.0.100.0240.00715.04
7.0.90.0420.00615.04
7.0.80.0430.00615.04
7.0.70.0300.00615.03
7.0.60.0280.00615.00
7.0.50.0360.00615.06
7.0.40.0280.00715.11
7.0.30.0290.00715.18
7.0.20.0340.00815.07
7.0.10.0300.00815.15
7.0.00.0340.00515.10
5.6.400.0110.00715.71
5.6.390.0120.00615.71
5.6.380.0100.00815.51
5.6.370.0130.00615.43
5.6.360.0110.00615.51
5.6.350.0120.00615.59
5.6.340.0130.00515.59
5.6.330.0110.00615.54
5.6.320.0110.00715.54
5.6.310.0170.00715.52
5.6.300.0120.01916.34
5.6.290.0120.01616.42
5.6.280.0110.02116.34
5.6.270.0140.01816.37
5.6.260.0140.01816.37
5.6.250.0130.02016.32
5.6.240.0140.01916.39
5.6.230.0120.01916.44
5.6.220.0140.01816.38
5.6.210.0130.02116.42
5.6.200.0140.01816.40
5.6.190.0150.01916.36
5.6.180.0130.01916.41
5.6.170.0140.01916.38
5.6.160.0130.01816.47
5.6.150.0150.01816.45
5.6.140.0120.02116.43
5.6.130.0150.01516.46
5.6.120.0110.01916.44
5.6.110.0120.01916.33
5.6.100.0130.02016.33
5.6.90.0120.02016.37
5.6.80.0120.01816.20
5.6.70.0130.01616.29
5.6.60.0140.01616.19
5.6.50.0130.01916.22
5.6.40.0130.01816.28
5.6.30.0130.01616.19
5.6.20.0120.01816.21
5.6.10.0120.01716.22
5.6.00.0130.01816.23
5.5.380.0130.01615.14
5.5.370.0160.01515.13
5.5.360.0110.01915.12
5.5.350.0130.01615.01
5.5.340.0100.01915.15
5.5.330.0150.01615.07
5.5.320.0120.01915.21
5.5.310.0120.01815.13
5.5.300.0110.01915.16
5.5.290.0110.01815.18
5.5.280.0120.01815.15
5.5.270.0130.01715.19
5.5.260.0140.01415.18
5.5.250.0130.01515.20
5.5.240.0120.01615.09
5.5.230.0130.01615.01
5.5.220.0120.01515.06
5.5.210.0110.01915.04
5.5.200.0100.01615.03
5.5.190.0110.01615.08
5.5.180.0130.01414.94
5.5.170.0120.00614.82
5.5.160.0120.01815.00
5.5.150.0120.01715.01
5.5.140.0120.01414.95
5.5.130.0120.01314.99
5.5.120.0120.01714.96
5.5.110.0120.01614.97
5.5.100.0110.02014.94
5.5.90.0130.01315.01
5.5.80.0100.01815.04
5.5.70.0130.01515.03
5.5.60.0120.01515.01
5.5.50.0120.01715.02
5.5.40.0120.01414.95
5.5.30.0120.01714.98
5.5.20.0110.01515.05
5.5.10.0120.01714.99
5.5.00.0110.01815.00
5.4.450.0100.01814.10
5.4.440.0090.01814.14
5.4.430.0100.01714.09
5.4.420.0090.01814.09
5.4.410.0120.01314.04
5.4.400.0110.01514.01
5.4.390.0100.01614.05
5.4.380.0110.01414.03
5.4.370.0100.01514.02
5.4.360.0100.01414.15
5.4.350.0100.01614.06
5.4.340.0090.01714.08
5.4.330.0080.00512.86
5.4.320.0120.01514.09
5.4.310.0100.01814.07
5.4.300.0120.01314.12
5.4.290.0110.01514.05
5.4.280.0100.01514.04
5.4.270.0120.01514.06
5.4.260.0090.01714.00
5.4.250.0110.01614.10
5.4.240.0110.01614.04
5.4.230.0110.01513.99
5.4.220.0120.01413.92
5.4.210.0090.01614.03
5.4.200.0120.01314.04
5.4.190.0110.01314.01
5.4.180.0100.01713.97
5.4.170.0110.01414.01
5.4.160.0090.01614.05
5.4.150.0120.01413.97
5.4.140.0110.01413.67
5.4.130.0110.01613.58
5.4.120.0100.01413.67
5.4.110.0100.01613.63
5.4.100.0120.01213.58
5.4.90.0110.01513.67
5.4.80.0100.01413.68
5.4.70.0100.01313.68
5.4.60.0110.01613.61
5.4.50.0090.01313.56
5.4.40.0110.01213.67
5.4.30.0090.01513.62
5.4.20.0120.01313.61
5.4.10.0100.01513.55
5.4.00.0100.01413.46

preferences:
63.8 ms | 403 KiB | 5 Q