3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr1 = array(5484108 => 'AVDS124047', 5484986 => 'OVDS124050'); $arr2 = array('stock' => '{Lang:STOCK}', 'rma' => '{Lang:RMA}'); var_dump(array_merge($arr1,$arr2));
Output for 4.3.0 - 7.1.0
array(4) { [0]=> string(10) "AVDS124047" [1]=> string(10) "OVDS124050" ["stock"]=> string(12) "{Lang:STOCK}" ["rma"]=> string(10) "{Lang:RMA}" }