//国外 $arr6 = array_merge($arr2,$arr4); $arr8 = array(); $arr10 = array(); foreach($arr6 as $k6=> $v6){ if(!array_search($v6['addres'],$arr8)){ $arr8[] = $v6['addres']; $arr10[] = $v6['resjson']; } }
//国外 $arr6 = array_merge($arr2,$arr4); $arr8 = array(); $arr10 = array(); foreach($arr6 as $k6=> $v6){ if(!array_search($v6['addres'],$arr8)){ $arr8[] = $v6['addres']; $arr10[] = $v6['resjson']; } }
转载于:https://www.cnblogs.com/finnlee/p/5502764.html