3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = [ 'shit' => 1 ]; $b = [ 'shit' => 2 ]; $c = array_merge($a,$b); print_r($c);
Output for 7.0.18
Array ( [shit] => 2 )