PHP - Inheritance and Polymorphism
Which of the following is the correct syntax to check if
$obj is an instance of class Car?$obj is an instance of class Car?instanceof syntaxvariable instanceof ClassName, without extra keywords or rearrangement.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions