PHP menghapus objek JSON dari objek koleksi
$id = 1;
foreach ($array as $key => $arr) {
if($arr->id == $id) {
unset($array[$key]);
}
}
Magnificent Manatee