← All docs
array_intersect_assoc() — internals
Compiler internals for array_intersect_assoc(): lowering path, type checks, and runtime helpers.
array_intersect_assoc() — internals
Where it lives
- Signature:
src/builtins/array/array_intersect_assoc.rs - Lowering:
src/codegen/lower_inst/builtins/arrays.rs:1373 (lower_array_intersect_assoc) - Function symbol:
lower_array_intersect_assoc()
Lowering notes
- Lowers
array_intersect_assoc()via the shared associative diff/intersect helper (mode 1 = intersect).
Runtime helpers
The following runtime helpers are referenced:
__rt_array_find_any_all__rt_array_merge_recursive__rt_array_udiff_uintersect__rt_assoc_diff_intersect
Signature summary
function array_intersect_assoc(array $array, ...$arrays): mixed
What the type checker enforces
- Arity: takes exactly 1 argument.
- Variadic: collects excess arguments into
$arrays.
Eval interpreter (magician)
Not callable from eval’d code — the magician interpreter has no entry for this builtin.