← All docs
array_key_first() — internals
Compiler internals for array_key_first(): lowering path, type checks, and runtime helpers.
array_key_first() — internals
Where it lives
- Signature:
src/builtins/array/array_key_first.rs - Lowering:
src/codegen/lower_inst/builtins/arrays.rs:1161 (lower_array_key_first) - Function symbol:
lower_array_key_first()
Lowering notes
- Lowers
array_key_first()through the shared edge-key helper with selector0.
Runtime helpers
The following runtime helpers are referenced:
__rt_array_edge_key__rt_mixed_from_value
Signature summary
function array_key_first(array $array): mixed
What the type checker enforces
- Arity: takes exactly 1 argument.
Eval interpreter (magician)
Not callable from eval’d code — the magician interpreter has no entry for this builtin.