3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array('code' => 500, 'am' => 600, 'cc' => 560); $b = array('am' => 40); var_dump(array_merge($a, $b));
Output for 4.3.0 - 7.1.0
array(3) { ["code"]=> int(500) ["am"]=> int(40) ["cc"]=> int(560) }