← All docs

is_callable() — internals

Compiler internals for is_callable(): lowering path, type checks, and runtime helpers.

is_callable() — internals

Where it lives

Lowering notes

  • Lowers is_callable(value) through static lookup or runtime callable-shape helpers.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_is_callable_array
  • __rt_is_callable_assoc

Signature summary

function is_callable(mixed $value): bool

What the type checker enforces

  • Arity: takes exactly 1 argument.

Eval interpreter (magician)

Cross-references