<? $arr1 = array("Paul"=>25, "I"=>38, "Nick"=>27); $arr2 = array("I"=>27, "Paul"=>38); print "Merge:\n"; var_dump(array_merge($arr1, $arr2)); ?>