← All docs

zval_unpack() — internals

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

zval_unpack() — internals

Where it lives

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.

Cross-references