Php Check If Array Of Objects In Oops Interview Questions