← All docs
array_diff_assoc() — internals
Compiler internals for array_diff_assoc(): lowering path, type checks, and runtime helpers.
array_diff_assoc() — internals
Where it lives
- Signature:
src/builtins/array/array_diff_assoc.rs - Lowering:
src/codegen/lower_inst/builtins/arrays.rs:1359 (lower_array_diff_assoc) - Function symbol:
lower_array_diff_assoc()
Lowering notes
- Lowers
array_diff_assoc()via the shared associative diff/intersect helper (mode 0 = diff).
Runtime helpers
The following runtime helpers are referenced:
__rt_assoc_diff_intersect
Signature summary
function array_diff_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.