← All docs
__elephc_ptr_read_string() — internals
Compiler internals for __elephc_ptr_read_string(): lowering path, type checks, and runtime helpers.
__elephc_ptr_read_string() — internals
Where it lives
- Signature:
src/builtins/pointers/__elephc_ptr_read_string.rs - Lowering:
src/codegen/lower_inst/builtins/pointers.rs:129 (lower_ptr_read_string) - Function symbol:
lower_ptr_read_string()
Lowering notes
- Lowers
ptr_read_string(pointer, length)by copying raw bytes into an owned PHP string.
Runtime helpers
The following runtime helpers are referenced:
__rt_ptr_read_string
Signature summary
function __elephc_ptr_read_string(mixed $pointer, mixed $length): string
What the type checker enforces
- Arity: takes exactly 2 arguments.
Eval interpreter (magician)
Not callable from eval’d code — the magician interpreter has no entry for this builtin.
Cross-references
- No user-facing reference — this is a compiler internal helper.