class_exists
class_exists
(PHP 4, PHP 5, PHP 7)
class_exists — Checks if the class has been defined
Description
bool class_exists ( string $class_name [, bool $autoload = true ] )
This function checks whether or not the given class has been defined.
Parameters
-
class_name
-
The class name. The name is matched in a case-insensitive manner.
-
autoload
-
Whether or not to call 登录查看完整内容