3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = [ [ "for_a" => "me" ], [ "for_b" => "you" ], [ "for_c" => "bleeh"] ]; $output = array_merge(...$input); print_r($output);

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.130.0100.01118.03
8.4.120.0150.00620.48
8.4.110.0080.00822.59
8.4.100.0060.00417.52
8.4.90.0110.00817.63
8.4.80.0090.00917.65
8.4.70.0080.01217.63
8.4.60.0080.01117.63
8.4.50.0070.00317.52
8.4.40.0100.01020.48
8.4.30.0130.00620.28
8.4.20.0030.00619.59
8.4.10.0030.00623.76
8.3.260.0120.00716.42
8.3.250.0120.00718.72
8.3.240.0120.00620.97
8.3.230.0060.00216.59
8.3.220.0060.00217.07
8.3.210.0120.00516.41
8.3.200.0100.00817.20
8.3.190.0120.00716.37
8.3.180.0070.00916.13
8.3.170.0090.00916.99
8.3.160.0160.00716.40
8.3.150.0060.01216.96
8.3.140.0040.00416.67
8.3.130.0060.00318.13
8.3.120.0060.00320.50
8.3.110.0030.00620.94
8.3.100.0030.01224.06
8.3.90.0140.00026.77
8.3.80.0090.00017.97
8.3.70.0060.00918.29
8.3.60.0070.01418.18
8.3.50.0140.00716.45
8.3.40.0030.01020.00
8.3.30.0140.00319.05
8.3.20.0080.00024.18
8.3.10.0040.00424.66
8.3.00.0030.00526.16
8.2.290.0060.01220.38
8.2.280.0110.00716.41
8.2.270.0090.00616.94
8.2.260.0100.00717.20
8.2.250.0120.00318.63
8.2.240.0090.00616.95
8.2.230.0070.00022.58
8.2.220.0040.00437.54
8.2.210.0040.00426.77
8.2.200.0030.00616.38
8.2.190.0070.00716.58
8.2.180.0130.00616.50
8.2.170.0030.01018.83
8.2.160.0070.01022.96
8.2.150.0070.00025.66
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0000.00819.11
8.2.110.0120.00022.25
8.2.100.0070.00417.57
8.2.90.0040.00417.63
8.2.80.0060.00318.66
8.2.70.0050.00317.50
8.2.60.0090.00917.25
8.2.50.0000.01817.13
8.2.40.0180.00017.38
8.2.30.0190.00017.48
8.2.20.0130.00417.13
8.2.10.0160.00017.38
8.2.00.0120.00517.23
8.1.330.0120.00416.49
8.1.320.0110.00517.70
8.1.310.0090.00916.48
8.1.300.0110.00319.63
8.1.290.0060.00330.84
8.1.280.0100.01025.92
8.1.270.0000.00824.66
8.1.260.0050.00226.35
8.1.250.0080.00028.09
8.1.240.0040.00423.84
8.1.230.0070.00419.16
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0000.00817.35
8.1.190.0060.01116.99
8.1.180.0130.00316.88
8.1.170.0050.01017.00
8.1.160.0050.01117.00
8.1.150.0160.00017.00
8.1.140.0120.00616.97
8.1.130.0120.00417.13
8.1.120.0140.00317.00
8.1.110.0120.00417.13
8.1.100.0080.00817.13
8.1.90.0120.00417.00
8.1.80.0130.00417.13
8.1.70.0130.00317.23
8.1.60.0160.00417.10
8.1.50.0150.00416.98
8.1.40.0170.00017.12
8.1.30.0120.00517.34
8.1.20.0140.00317.23
8.1.10.0180.00017.35
8.1.00.0140.00516.75
8.0.300.0000.00718.77
8.0.290.0000.00916.63
8.0.280.0120.00416.59
8.0.270.0120.00616.52
8.0.260.0110.00616.52
8.0.250.0140.00616.61
8.0.240.0140.00316.63
8.0.230.0140.00316.62
8.0.220.0180.00016.52
8.0.210.0120.00816.52
8.0.200.0060.01216.52
8.0.190.0110.00516.52
8.0.180.0170.00016.60
8.0.170.0130.00316.52
8.0.160.0040.01316.52
8.0.150.0080.00816.52
8.0.140.0110.00616.52
8.0.130.0100.01016.52
8.0.120.0160.00016.52
8.0.110.0120.00416.52
8.0.100.0000.01616.52
8.0.90.0120.00416.52
8.0.80.0140.00316.52
8.0.70.0120.00416.63
8.0.60.0080.00816.52
8.0.50.0130.00316.52
8.0.30.0120.00316.52
8.0.20.0140.00316.52
8.0.10.0110.00416.59

preferences:
27.2 ms | 403 KiB | 5 Q