标签:bsp foreach ati array unset [] key 二维 nbsp
$i = [0];
foreach($data as $key => &$value){
if(in_array($value[‘patient_id‘],$i)){
unset($data[$key]);
}else{
$i[] = $value[‘patient_id‘];
}
}
标签:bsp foreach ati array unset [] key 二维 nbsp
原文地址:http://www.cnblogs.com/niexiangyang/p/7072907.html