method_exists
Checks if the class method exists
Description
boolmethod_exists
objectobject
stringmethod_name
This function returns &true; if the method given by
method_name has been defined for the given
object, &false; otherwise.
method_exists example
]]>
This script will output :