3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array( 'name' => 'AAA' ); $b = array( 'name' => 'BBB' ); $c = array( 'name' => 'CCC' ); $r = array_merge($a, $b); var_dump($r);
based on r1V24
Output for 4.3.0 - 7.2.0
array(1) { ["name"]=> string(3) "BBB" }