3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array1 = [0 => 'hello']; $array2 = [0 => 'hello']; print_r(array_merge($array1, $array2));

preferences:
40.37 ms | 703 KiB | 5 Q