Php object tool. Class_exists check whether the class has been defined. if the class exists, trueget_class is returned. the class name get_class_methods of the returned object returns the array get_declared_classes consisting of the class's method names.
Class_exists-check whether the class is defined. if the class exists, true is returned.
Get_class-class name of the returned object
Get_class_methods-returns an array composed of class method names.
Get_declared_classes-returns an array composed of the names of defined classes.
Is_callable-check whether the parameter is a valid callable structure
Method_exists-check whether the class method exists
Bool
Method_exists(Mixed
$object
, String
$method_name
)
Check whether the methods of the class exist in the specifiedobject
.
Get_class_vars-returns an array composed of the default attributes of the class (only public attributes are displayed)
Array
Get_class_vars(String
$class_name
)
Returns an associated array consisting of the default public attributes of the class.varname => value
.
Get_parent_class-return the parent class name of the object or class
Is_subclass_of-if this object is a subclass of this class, returnTRUE
Call_user_func-Call the callback given by the first parameter
Call_user_func_array-Call a callback with an array of parameters
FlectionClassClass reports information about a class.
Reflection: export-Exports
The http://www.bkjia.com/PHPjc/440166.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/440166.htmlTechArticleclass_exists checks whether the class is defined. if the class exists, return true get_class to return the class name of the object get_class_methods to return the array get_declared_classes consisting of the class's method name to return...