← All docs

array_values() — internals

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

array_values() — internals

Where it lives

Lowering notes

  • Lowers array_values() for indexed arrays as an alias or associative arrays as a new values array.

Runtime helpers

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

Signature summary

function array_values(array $array): array

What the type checker enforces

  • Arity: takes exactly 1 argument.

Eval interpreter (magician)

Cross-references