← All docs
zval_unpack() — internals
Compiler internals for zval_unpack(): lowering path, type checks, and runtime helpers.
zval_unpack() — internals
Where it lives
- Signature:
src/builtins/pointers/zval_unpack.rs - Lowering:
src/codegen/lower_inst/builtins/pointers.rs:580 (lower_zval_unpack) - Function symbol:
lower_zval_unpack()
Lowering notes
- Lowers
zval_unpack(zval_ptr)by invoking__rt_zval_unpack.
Runtime helpers
The following runtime helpers are referenced:
__rt_zval_free__rt_zval_type__rt_zval_unpack
Signature summary
function zval_unpack(pointer $zval): 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.