源代码:
"red","b"=>"green"); $a2=array("c"=>"blue","b"=>"yellow"); print_r(array_merge_recursive($a1,$a2)); ?>
运行结果:
Array ( [a] => red [b] => Array ( [0] => green [1] => yellow ) [c] => blue )