function array_unset_tt($user,$key){
//建立一个目标数组
$res = array();
foreach ($user as $value) {
//查看有没有重复项
if(isset($res[$value[$key]])){
//有:销毁
unset($value[$key]);
}
else{
$res[$value[$key]] = $value;
}
}
return $res;
}
$user = array(
array(
'title'=>'1111','date'=>'ddddd'
),
array('title'=>'22222','date'=>'fffffff'),
array('title'=>'1111','date'=>'ggggggg')
);
$newArr = array_unset_tt($user,'title');
print_r(array_values($newArr));