i have $list which is array of the object with id and other values , i am removing the all object who have id is equal to $id
in short want to remove duplicate object from array $list
is there array_unique like function for the object like object_unique .
above code is working but i want to do it without foreach or any other loop so any how i can shrink code or make performance better
Read more