class_exists in PHP

Syntax of class_exists bool class_exists(string name[, bool autoload_class]) Returns true if a class with the same name as the string has been defined; if not, it returns false. The comparison for class names is case-insensitive. If autoload_class is set and is true, the class is loaded through the class’s __autoload() function before getting the interfaces … Read more