← All docs

is_callable()

Checks whether a variable can be called as a function.

is_callable()

function is_callable(mixed $value): bool

Checks whether a variable can be called as a function.

Parameters:

  • $value (mixed)

Returns: bool

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

Internals

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