tryphp_oper_arr_union.php:
"red", "b" => "green"); $y = array("c" => "blue", "d" => "yellow"); print_r($x + $y); // union of $x and $y ?>
Array ( [a] => red [b] => green [c] => blue [d] => yellow )