3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr1= array("name"=>"sam", "add"=> "bangalore", "country"=> "India"); $arr2= array("name"=>"sur", "add"=> "chennai", "country"=> "India"); $union_arr=$arr1 + $arr2; print_r($union_arr); ?>
based on V4hpF
Output for 5.5.0 - 7.3.0rc4
Array ( [name] => sam [add] => bangalore [country] => India )