3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr1 = array( '11' => '11', '22' => '22', '33' => '33', '44' => '44' ); $arr2 =array( '44' => '44', '55' => '55', '66' => '66', '77' => '77' ); print_r($arr1 + $arr2);
based on uQWiW
Output for 5.6.0 - 7.3.0rc4
Array ( [11] => 11 [22] => 22 [33] => 33 [44] => 44 [55] => 55 [66] => 66 [77] => 77 )