Question
Which version of PHP introduced the instanceof keyword?
Answer: Option B
Was this answer helpful ?
Using instanceof keyword we can determine whether an object is an instance of a class. $manager = new Employee() ¦ if ($manager instanceof Employee) echo "True;
Was this answer helpful ?
Submit Solution