php判断类是否存在函数 class_exists//bool class_exists ( string $class_name [, bool $autoload = true ] )//此功能是否给定的类被定义检查。This function checks whether or not the given class has been defined.

php教程判断类是否存在函数 class_exists
//bool class_exists ( string $class_name [, bool $autoload = true ] )
//此功能是否给定的类被定义检查。this function checks whether or not the given class has been defined.

//返回true,如果class_name是一个定义的类,否则返回false。
//实例


09-16 08:14