← All docs
array_all() — internals
Compiler internals for array_all(): lowering path, type checks, and runtime helpers.
array_all() — internals
Where it lives
- Signature:
src/builtins/array/array_all.rs - Lowering:
src/codegen/lower_inst/builtins/arrays.rs:1578 (lower_array_all) - Function symbol:
lower_array_all()
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.