← All docs

get_defined_functions()

Returns internal and user-defined function names. Elephc has no disable_functions configuration, so exclude_disabled is accepted but does not change the result.

get_defined_functions()

function get_defined_functions(bool $exclude_disabled = true): array

Returns internal and user-defined function names. Elephc has no disable_functions configuration, so exclude_disabled is accepted but does not change the result.

Parameters:

  • $exclude_disabled (bool), default true, optional

Returns: array

Availability

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

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