Q. Which PHP function checks whether a class exists?
β
Correct Answer: (A)
class_exists()
Explanation: class_exists() checks if a class is defined.