1.

Which method is invoked when an undefined property is accessed?(a) __get()(b) __isset()(c) __unset()(d) __undefined()I had been asked this question in a national level competition.Question is taken from Object Advanced Features topic in chapter Objects and Databases in PHP of PHP

Answer» RIGHT CHOICE is (a) __get()

EXPLANATION: NONE.


Discussion

No Comment Found

Related InterviewSolutions