PHP去重可用

 //国外
        $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'];
            }
        }

 

posted @ 2016-05-17 18:46  FinnYY  阅读(204)  评论(0编辑  收藏  举报