Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which version of PHP introduced the instanceof keyword?

a) PHP 4
b) PHP 5
c) PHP 5.3
d) PHP 6

Answer: b
Explanation: Using instanceof keyword we can determine whether an object is an instance of a class. $manager = new Employee() … if ($manager instanceof Employee) echo “True”;

Join The Discussion