合并二维数组

<?php
$arr = array();
$arr = array (
array("abcd"=>"1234","tttt"=>"8888"),

);

$arr2 = array (
array("abcd"=>"741852"),
array("efgh"=>"258147"),
array("ijkl"=>"753621")
);

$arr3 = array (
array("abcd"=>"2549"),
array("efgh"=>"9836"),
array("ijkl"=>"14569")
);
echo "<pre>";
print_r($arr);
print_r($arr2);
print_r($arr3);
print_r(array_merge_recursive($arr,$arr2,$arr3));
?>

posted @ 2018-01-29 13:14  御世制人  阅读(261)  评论(0编辑  收藏  举报