3v4l.org

run code in 200+ PHP versions simultaneously
<?php var_dump(array_merge_recursive(['a' => 'b'], ['a' => 'c']));
Output for 7.1.25 - 7.4.0
array(1) { ["a"]=> array(2) { [0]=> string(1) "b" [1]=> string(1) "c" } }