← All docs

array_any() — internals

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

array_any() — internals

Where it lives

Lowering notes

  • Lowers array_any(): returns true when some element satisfies the predicate.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_array_walk_recursive

Signature summary

function array_any(mixed $array, mixed $callback): bool

What the type checker enforces

  • Arity: takes exactly 2 arguments.

Eval interpreter (magician)

Not callable from eval’d code — the magician interpreter has no entry for this builtin.

Cross-references