3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array('01'=>1, '02'=>73); $b = array('10'=>11, '11'=>23); var_dump($a,$b); var_dump(array_merge($a,$b));
based on RgnlR
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
array(2) { ["01"]=> int(1) ["02"]=> int(73) } array(2) { [10]=> int(11) [11]=> int(23) } array(4) { ["01"]=> int(1) ["02"]=> int(73) [0]=> int(11) [1]=> int(23) }
Output for hhvm-3.10.0

Process exited with code 153.