1.

PHP 4 did not support instanceof. Instead, which function did it provide?(a) is()(b) get_class()(c) is_a()(d) is_the()I got this question in final exam.The above asked question is from Object Tools topic in chapter Object Tools and Design and Variables in PHP of PHP

Answer»

Right ANSWER is (C) is_a()

To elaborate: As of PHP 5.3 is_a() no LONGER DEPRECATED.



Discussion

No Comment Found

Related InterviewSolutions