3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { array_merge([1, 2], a: [3, 4]); } catch (ArgumentCountError $e) { echo $e->getMessage(); }

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.120.0110.00822.20
8.4.110.0140.00622.20
8.4.100.0090.01117.70
8.4.90.0130.00518.64
8.4.80.0050.00417.94
8.4.70.0060.00318.12
8.4.60.0060.01018.80
8.4.50.0090.01017.96
8.4.40.0150.00419.54
8.4.30.0060.01320.54
8.4.20.0200.00017.74
8.4.10.0080.00019.42
8.3.250.0130.00518.68
8.3.240.0100.00916.68
8.3.230.0090.00816.47
8.3.220.0120.00817.13
8.3.210.0070.01116.68
8.3.200.0120.00716.69
8.3.190.0030.00517.05
8.3.180.0130.01016.57
8.3.170.0090.00916.61
8.3.160.0170.00316.62
8.3.150.0050.01417.01
8.3.140.0170.00017.35
8.3.130.0030.00518.38
8.3.120.0060.00320.71
8.3.110.0060.00320.94
8.3.100.0000.00818.39
8.3.90.0040.00426.77
8.3.80.0070.00319.36
8.3.70.0110.00716.88
8.3.60.0120.00916.75
8.3.50.0110.00623.59
8.3.40.0110.00421.66
8.3.30.0040.01118.72
8.3.20.0060.00624.18
8.3.10.0070.00024.66
8.3.00.0050.00526.16
8.2.290.0080.01020.33
8.2.280.0040.00620.54
8.2.270.0140.00716.79
8.2.260.0030.00618.88
8.2.250.0060.00317.00
8.2.240.0090.00018.83
8.2.230.0090.00022.58
8.2.220.0030.00624.06
8.2.210.0050.00326.77
8.2.200.0060.00318.88
8.2.190.0070.01018.56
8.2.180.0030.01425.92
8.2.170.0070.00718.89
8.2.160.0070.00722.96
8.2.150.0000.00725.66
8.2.140.0030.00624.66
8.2.130.0070.00026.16
8.2.120.0050.00326.35
8.2.110.0040.00420.52
8.2.100.0070.00319.15
8.1.330.0120.00622.12
8.1.320.0130.00616.31
8.1.310.0130.00418.19
8.1.300.0120.00320.09
8.1.290.0030.00630.84
8.1.280.0110.00425.92
8.1.270.0040.00423.99
8.1.260.0000.00728.09
8.1.250.0060.00328.09
8.1.240.0030.00618.35
8.1.230.0030.00618.50
8.1.10.0100.00417.50
8.0.10.0120.01017.09
8.0.00.0110.00916.90
7.4.140.0100.01216.14
7.4.130.0070.01216.32
7.4.120.0100.01316.28
7.4.110.0110.01016.23
7.4.100.0090.00916.39
7.4.90.0110.00916.25
7.4.80.0110.00816.27
7.4.70.0100.00816.27
7.4.60.0100.00916.23
7.4.50.0120.00816.31
7.4.40.0090.00816.24
7.4.30.0130.00616.26
7.4.20.0090.01116.36
7.4.10.0140.00616.26
7.4.00.0100.00916.31
7.3.260.0090.01216.16
7.3.250.0090.01016.15
7.3.240.0110.01216.15
7.3.230.0130.00716.24
7.3.220.0120.00716.19
7.3.210.0080.01016.31
7.3.200.0090.00916.24
7.3.190.0100.00816.20
7.3.180.0070.01316.12
7.3.170.0090.00916.27
7.3.160.0100.00816.18
7.3.150.0100.00916.19
7.3.140.0110.01016.28
7.3.130.0080.01316.22
7.3.120.0110.01016.28
7.3.110.0100.00816.25
7.3.100.0090.00816.13
7.3.90.0050.01316.13
7.3.80.0090.00816.23
7.3.70.0110.00616.17
7.3.60.0100.00716.17
7.3.50.0100.00916.11
7.3.40.0120.00716.06
7.3.30.0120.00916.11
7.3.20.0230.01016.22
7.3.10.0120.00916.14
7.3.00.0070.01216.24
7.2.340.0130.01116.23
7.2.330.0150.00816.25
7.2.320.0110.01216.28
7.2.310.0130.01016.21
7.2.300.0150.00916.23
7.2.290.0160.00716.29
7.2.280.0140.01116.21
7.2.270.0150.01216.29
7.2.260.0140.01316.22
7.2.250.0170.00916.35
7.2.240.0160.00916.25
7.2.230.0170.00816.30
7.2.220.0170.01016.24
7.2.210.0160.00916.34
7.2.200.0150.01016.29
7.2.190.0160.01016.34
7.2.180.0140.01216.22
7.2.170.0110.01416.28
7.2.160.0130.01216.16
7.2.150.0260.00916.38
7.2.140.0190.00816.40
7.2.130.0160.00916.33
7.2.120.0150.01016.30
7.2.110.0150.01016.26
7.2.100.0110.01216.31
7.2.90.0210.00916.36
7.2.80.0180.00616.39
7.2.70.0130.01016.39
7.2.60.0140.01116.36
7.2.50.0150.00916.31
7.2.40.0120.01116.34
7.2.30.0190.00816.38
7.2.20.0190.00816.28
7.2.10.0210.00616.31
7.2.00.0120.01216.30

preferences:
29.46 ms | 403 KiB | 5 Q