← All docs

array_flip() — internals

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

array_flip() — internals

Where it lives

Lowering notes

  • Lowers array_flip() through the hash-building runtime helpers.

Runtime helpers

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

Signature summary

function array_flip(array $array): array

What the type checker enforces

  • Arity: takes exactly 1 argument.

Eval interpreter (magician)

Cross-references