← All docs

array_all() — internals

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

array_all() — internals

Where it lives

Lowering notes

  • Lowers array_all(): returns true when every element satisfies the predicate.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_array_udiff_uintersect
  • __rt_array_walk_recursive

Signature summary

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

What the type checker enforces

  • Arity: takes exactly 2 arguments.

Cross-references