← All docs

get_class_methods()

Returns method names visible on an object or class.

get_class_methods()

function get_class_methods(mixed $object_or_class): mixed

Returns method names visible on an object or class.

Parameters:

  • $object_or_class (mixed)

Returns: mixed

Availability

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how get_class_methods is implemented in the compiler, see the internals page.