3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $def = array('a'=>1, 'b'=>2); //////// $arr_lang = array('de' => array('a'=>3, 'c'=>4)); $arr_lang = array_merge($def , $arr_lang['de']); ////// print_r($arr_lang);
Output for 4.3.0 - 7.1.0
Array ( [a] => 3 [b] => 2 [c] => 4 )