class_exists Checks if the class has been defined Description boolclass_exists stringclass_name boolautoload This function returns &true; if the class given by class_name has been defined, &false; otherwise. <function>class_exists</function> example ]]> class_exists will attempt to call &link.autoload; by default, if you don't want class_exists to call &link.autoload;, you can set the parameter autoload to &false;. <parameter>autoload</parameter> parameter example ]]> The autoload parameter was added in PHP 5 See also interface_exists, and get_declared_classes.