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. <function>method_exists</function> example ]]> This script will output :