🌈 搜索
📅  最后修改于: 2022-03-11 14:54:17.102000             🧑  作者: Mango
$id = 1; foreach ($array as $key => $arr) { if($arr->id == $id) { unset($array[$key]); } }