3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [[0 => 'zero'], [1 => 'one']]; print_r(array_merge(...$a));

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.20.0040.00418.96
8.4.10.0090.00017.63
8.3.150.0080.00018.98
8.3.140.0040.00417.16
8.3.130.0050.00316.61
8.3.120.0080.00818.83
8.3.110.0080.00020.94
8.3.100.0030.00516.77
8.3.90.0070.00318.30
8.3.80.0060.00618.18
8.3.70.0060.01216.63
8.3.60.0100.01018.56
8.3.50.0150.00317.24
8.3.40.0000.01418.72
8.3.30.0060.01018.58
8.3.20.0050.00221.95
8.3.10.0040.00421.73
8.3.00.0000.00822.24
8.2.270.0120.00617.28
8.2.260.0070.00722.17
8.2.250.0000.00816.52
8.2.240.0060.00319.08
8.2.230.0130.00322.58
8.2.220.0000.01724.06
8.2.210.0050.00526.77
8.2.200.0000.01218.41
8.2.190.0110.00716.58
8.2.180.0110.00418.54
8.2.170.0100.01022.96
8.2.160.0080.00822.08
8.2.150.0060.00324.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0030.00520.89
8.2.110.0030.00622.13
8.2.100.0000.01117.78
8.2.90.0040.00417.61
8.2.80.0080.00018.50
8.2.70.0060.00317.63
8.2.60.0070.00017.80
8.2.50.0030.00618.07
8.2.40.0040.00418.04
8.2.30.0030.00618.05
8.2.20.0030.00718.05
8.2.10.0030.00519.30
8.2.00.0070.00019.22
8.1.310.0030.01416.93
8.1.300.0030.00615.94
8.1.290.0030.00618.88
8.1.280.0150.00025.92
8.1.270.0040.00422.05
8.1.260.0060.00326.35
8.1.250.0090.00028.09
8.1.240.0090.00020.52
8.1.230.0000.01117.82
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0030.00617.35
8.1.190.0100.00017.22
8.1.180.0000.00818.10
8.1.170.0040.00418.69
8.1.160.0040.00418.73
8.1.150.0040.00418.78
8.1.140.0040.00420.95
8.1.130.0080.00020.01
8.1.120.0000.00717.41
8.1.110.0040.00417.39
8.1.100.0040.00417.30
8.1.90.0000.00817.36
8.1.80.0040.00417.40
8.1.70.0000.00717.38
8.1.60.0080.00017.56
8.1.50.0070.00017.41
8.1.40.0030.00617.48
8.1.30.0000.00817.50
8.1.20.0030.00817.61
8.1.10.0040.00417.33
8.1.00.0030.00517.37
8.0.300.0040.00418.77
8.0.290.0090.00016.63
8.0.280.0000.00818.29
8.0.270.0000.00817.19
8.0.260.0000.00820.02
8.0.250.0000.00716.92
8.0.240.0040.00416.85
8.0.230.0030.00316.88
8.0.220.0030.00316.79
8.0.210.0000.00816.84
8.0.200.0030.00316.92
8.0.190.0000.00716.75
8.0.180.0050.00316.83
8.0.170.0090.00016.84
8.0.160.0030.00616.90
8.0.150.0040.00416.81
8.0.140.0030.00316.77
8.0.130.0030.00313.26
8.0.120.0050.00316.75
8.0.110.0000.00816.82
8.0.100.0060.00316.71
8.0.90.0060.00316.88
8.0.80.0040.01116.73
8.0.70.0070.00016.78
8.0.60.0050.00216.73
8.0.50.0070.00016.72
8.0.30.0150.00817.16
8.0.20.0120.00917.24
8.0.10.0040.00417.05
8.0.00.0140.00416.78
7.4.330.0050.00015.55
7.4.320.0060.00016.53
7.4.300.0040.00416.54
7.4.290.0040.00416.43
7.4.280.0000.00716.32
7.4.270.0070.00016.43
7.4.260.0000.00513.18
7.4.250.0070.00016.40
7.4.240.0010.00616.38
7.4.230.0000.00716.31
7.4.220.0020.00516.28
7.4.210.0070.00916.49
7.4.200.0000.00716.59
7.4.140.0090.00917.86
7.4.130.0130.01316.34
7.4.120.0110.00716.56
7.4.110.0030.01416.34
7.4.100.0130.00316.25
7.4.90.0040.01416.50
7.4.80.0120.00619.39
7.4.70.0130.00316.25
7.4.60.0110.01016.29
7.4.50.0100.00616.37
7.4.40.0090.00816.27
7.4.30.0120.00616.43
7.4.20.0050.01116.37
7.4.10.0060.01316.34
7.4.00.0090.00615.72
7.3.330.0030.00316.14
7.3.320.0000.00513.00
7.3.310.0060.00016.06
7.3.300.0000.00616.12
7.3.290.0000.00616.15
7.3.280.0090.00616.05
7.3.260.0080.00916.30
7.3.240.0090.00916.17
7.3.230.0110.01416.33
7.3.210.0130.00616.32
7.3.200.0090.01216.18
7.3.190.0060.00916.29
7.3.180.0090.01116.22
7.3.170.0000.01616.39
7.3.160.0080.00816.36
7.3.150.0080.00816.55
7.3.140.0090.00916.31
7.3.130.0060.01015.96
7.3.120.0130.00316.19
7.3.110.0150.00616.11
7.3.100.0060.01016.11
7.3.90.0070.00914.99
7.3.80.0060.00915.02
7.3.70.0070.00714.98
7.3.60.0080.00715.08
7.3.50.0130.01214.94
7.3.40.0080.00814.86
7.3.30.0060.00815.00
7.3.20.0090.00714.92
7.3.10.0120.00614.97
7.3.00.0090.01014.94
7.2.330.0100.01016.36
7.2.320.0060.01516.51
7.2.310.0100.00716.48
7.2.300.0110.00616.13
7.2.290.0100.00716.16
7.2.280.0040.01216.44
7.2.270.0030.01216.29
7.2.260.0120.00616.21
7.2.250.0030.01816.39
7.2.240.0150.00716.39
7.2.230.0070.01016.28
7.2.220.0080.00915.14
7.2.210.0080.00915.24
7.2.200.0040.01215.07
7.2.190.0090.00715.12
7.2.180.0090.00915.11
7.2.170.0070.00815.08
7.2.160.0120.00315.11
7.2.150.0120.01115.32
7.2.140.0240.00615.21
7.2.130.0140.00515.11
7.2.120.0120.00615.19
7.2.110.0110.00715.24
7.2.100.0120.00615.20
7.2.90.0100.00715.27
7.2.80.0100.01015.30
7.2.70.0090.00915.27
7.2.60.0090.00915.36
7.2.50.0080.01115.15
7.2.40.0050.01315.28
7.2.30.0060.01115.24
7.2.20.0100.00615.30
7.2.10.0110.00915.16
7.2.00.0070.01115.24
7.1.330.0200.01115.48
7.1.320.0080.00814.12
7.1.310.0070.01014.23
7.1.300.0100.00714.21
7.1.290.0100.00714.13
7.1.280.0070.00814.10
7.1.270.0070.00814.10
7.1.260.0090.00914.13
7.1.250.0110.00714.16
7.1.240.0140.00615.27
7.1.230.0040.01815.41
7.1.220.0050.01715.23
7.1.210.0110.01115.42
7.1.200.0090.00915.24
7.1.190.0070.01115.46
7.1.180.0080.00915.27
7.1.170.0070.01015.18
7.1.160.0340.00615.38
7.1.150.0160.00615.48
7.1.140.0080.01215.48
7.1.130.0170.00615.49
7.1.120.0240.00315.35
7.1.110.0090.01015.40
7.1.100.0030.02015.31
7.1.90.0120.01115.26
7.1.80.0120.00815.25
7.1.70.0130.00715.33
7.1.60.0110.01515.23
7.1.50.0170.00915.33
7.1.40.0090.01815.20
7.1.30.0150.00915.27
7.1.20.0120.01215.11
7.1.10.0120.00615.28
7.1.00.0090.01215.25

preferences:
31.06 ms | 403 KiB | 5 Q