← 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

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.

Cross-references