3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(array_merge([1 => 'a', 3 => 'b'], [2 => 'c', 3 => 'd'])); var_dump(array_merge([1 => 'a', 3 => 'b'], [2 => 'c', 5 => 'd']));