InterviewSolution
Saved Bookmarks
| 1. |
Which one of the following functions is used to determine whether a class exists?(a) exist()(b) exist_class()(c) class_exist()(d) __exist()This question was addressed to me by my college professor while I was bunking the class.My enquiry is from Basics of Object-Oriented PHP- 2 in chapter Object-Oriented PHP of PHP |
|
Answer» RIGHT CHOICE is (c) class_exist() To elaborate: The class_exist() FUNCTION returns true or false according to whether the CLASS exists within the currently EXECUTING script content. |
|