← 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

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.

Cross-references