3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array( 'aaa' => 'AAA' ); $b = array( 'bbb' => 'BBB' ); $c = array( 'ccc' => 'CCC' ); $r = array_merge($a, $b); var_dump($r);
based on oDW9h
Output for 4.3.0 - 7.1.0
array(2) { ["aaa"]=> string(3) "AAA" ["bbb"]=> string(3) "BBB" }