I\'ve heard of get_class_methods() but is there a way in PHP to gather an array of all of the public methods from a particular class?
get_class_methods()
Have you try this way?
$class_methods = get_class_methods(new myclass()); foreach ($class_methods as $method_name) { echo "$method_name\n"; }