method_exists
Checks if the class method exists
&reftitle.description;
boolmethod_exists
mixedobject
stringmethod_name
Checks if the class method exists in the given
object.
&reftitle.parameters;
object
An object instance or a class name
method_name
The method name
&reftitle.returnvalues;
Returns &true; if the method given by method_name
has been defined for the given object, &false;
otherwise.
&reftitle.notes;
¬e.uses-autoload;
&reftitle.examples;
method_exists example
]]>
&example.outputs;
Static method_exists example
]]>
&example.outputs;
&reftitle.seealso;
function_exists
is_callable
class_exists