PHP Class Object Functions

Function Description
__autoload() Attempt to load undefined class
Call_user_method_array() Call a user method given with an array of parameters [deprecated]
Call_user_method() Call a user method on an specific object [deprecated]
Call_alias() Creates an alias for a class
Class_exists() Check if the class has been defined
Get_called_class() Get the ?Last Static Binding? class name
Get_class_methods() Gets the class method?s names
Get_class_vars() Get the default properties of the class
Get_class Returns the names of the class of an object
Get_declared_classes() Returns an array with the name of the defined classes
Get_declared_interfaces() Returns an array of the declared interfaces
Get_declared_traits() Returns an array of all declared traits
Get_object_vars() Get the properties of the given object
Get_parent_class() Retrieves the parent class name for object or class
Interface_exists() Checks if the interface has been defined
Is_a() Checks if the object is of this class or has this class or has this class as one of its parents
Is_subclass_of() Checks if the object has this class as one of its parent
Method_exists() Checks whether the class method exists or not
Property_exists() Checks whether class has a property or not
Trait_exists() Checks if the trait exists

Subscribe to our Newsletter

Join our newsletter and get news in your inbox every week! We hate spam too, so no worries about this.