← All docs

array_udiff() — internals

Compiler internals for array_udiff(): lowering path, type checks, and runtime helpers.

array_udiff() — internals

Where it lives

Lowering notes

  • Lowers array_udiff(): keeps first-array elements not equal (per comparator) to any second-array element.

Runtime helpers

No direct __rt_* helpers captured — the lowering is inlined or routes through another builtin.

Signature summary

function array_udiff(array $array1, array $array2, callable $callback): array

What the type checker enforces

  • Arity: takes exactly 3 arguments.

Eval interpreter (magician)

Not callable from eval’d code — the magician interpreter has no entry for this builtin.

Cross-references