3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array1 = array(3502, 3503); $array2 = array(3503, 3504); $array3 = array_merge($array1, $array2); print_r($array3);
Output for 7.3.0 - 7.3.30, 7.4.0 - 7.4.23, 8.0.0 - 8.0.10, 8.1rc1
Array ( [0] => 3502 [1] => 3503 [2] => 3503 [3] => 3504 )

preferences:
18.27 ms | 459 KiB | 5 Q