diff --git a/reference/classobj/functions/class-exists.xml b/reference/classobj/functions/class-exists.xml index df29fd6f1c..c00359663a 100644 --- a/reference/classobj/functions/class-exists.xml +++ b/reference/classobj/functions/class-exists.xml @@ -1,5 +1,5 @@ - + @@ -8,26 +8,37 @@ Description - - boolclass_exists - stringclass_name - boolautoload - - - - The autoload parameter was added in PHP 5 - - + + boolclass_exists + stringclass_name + boolautoload + This function returns &true; if the class given by class_name has been defined, &false; otherwise. - class_exists will attempt to call __autoload by - default, if you don't want class_exists to - call __autoload(), you can set the parameter autoload - to &false;. + + <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;. @@ -35,26 +46,33 @@ ]]> + + + The autoload parameter was added in PHP 5 + + - See also get_declared_classes. + See also interface_exists, and + get_declared_classes.