B Bờm Member Sep 20, 2021 #1 Which version of PHP introduced the instanceof keyword? A. PHP 4 B. PHP 5 C. PHP 5.3 D. PHP 6
N Ngọc Trâm New member Sep 20, 2021 #2 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”; Upvote 0 Downvote
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”;