Which one of the following functions will you use to check that the class exists before you work with it?
A. class_exist()
B. class_exists()
C. exist()
D. exists_class()
Answer:A
Which one of the following functions will you use to check that the class exists before you work with it?
A. class_exist() B. class_exists() C. exist() D. exists_class()
Explanation: The class_exists() function accepts a string representing the class to check for and returns a Boolean true value if the class exists and false otherwise.