求高手一个算法
有两个二维数组
<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->$a=array( array('id'=>'1','name'=>'a','url'=>'c'), array('id'=>'2','name'=>'aa','url'=>'cc'), array('id'=>'3','name'=>'aaa','url'=>'ccc'));$b=array( array('name'=>'aa','url'=>'cc'), array('name'=>'a','url'=>'c'));
$t=array();foreach($b as $vl) $t[$vl['name'].$vl['url']]=$vl;foreach($a as $k=>$v) if(!$t[$v['name'].$v['url']]) unset($a[$k]); print_r($a);<br><font color="#e78608">------解决方案--------------------</font><br>