← All docs
gzuncompress() — internals
Compiler internals for gzuncompress(): lowering path, type checks, and runtime helpers.
gzuncompress() — internals
Where it lives
- Signature:
src/builtins/string/gzuncompress.rs - Lowering:
src/codegen/lower_inst/builtins/strings.rs:519 (lower_gzuncompress) - Function symbol:
lower_gzuncompress()
Lowering notes
- Lowers
gzuncompress(data, max_length?)and boxes zlib failures as PHP false.
Runtime helpers
The following runtime helpers are referenced:
__rt_long2ip
Signature summary
function gzuncompress(string $data, int $max_length = 0): mixed
What the type checker enforces
- Arity: takes 1–2 arguments (1 optional).
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/string/gzuncompress.rs(eval_builtin!) - Dispatch hooks:
direct,values