3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array1 = array("a" => 1); $array2 = array("a" => 2); $array_merged = array_merge_recursive($array1, $array2); var_dump($array_merged); ?>
based on CZiqX
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.0
array(1) { ["a"]=> array(2) { [0]=> int(1) [1]=> int(2) } }