1.

__clone() is run on the ___ object.(a) original(b) pseudo(c) external(d) copiedThis question was posed to me in final exam.My doubt stems from Object Advanced Features topic in chapter Objects and Databases in PHP of PHP

Answer»

Right option is (d) COPIED

Easiest explanation: __clone() is run on the copied OBJECT and not the original.



Discussion

No Comment Found

Related InterviewSolutions