← All docs
array_merge_recursive() — internals
Compiler internals for array_merge_recursive(): lowering path, type checks, and runtime helpers.
array_merge_recursive() — internals
Where it lives
- Signature:
src/builtins/array/array_merge_recursive.rs - Lowering:
src/codegen/lower_inst/builtins/arrays.rs:1387 (lower_array_merge_recursive) - Function symbol:
lower_array_merge_recursive()
Lowering notes
- Lowers
array_merge_recursive()(recursive merge with scalar collisions combined into lists).
Runtime helpers
The following runtime helpers are referenced:
__rt_array_find_any_all__rt_array_merge_recursive__rt_array_udiff_uintersect
Signature summary
function array_merge_recursive(...$arrays): array
What the type checker enforces
- Arity: takes no arguments.
- Variadic: collects excess arguments into
$arrays.
Eval interpreter (magician)
Not callable from eval’d code — the magician interpreter has no entry for this builtin.