← All docs
phpversion() — internals
Compiler internals for phpversion(): lowering path, type checks, and runtime helpers.
phpversion() — internals
Where it lives
- Signature:
src/builtins/system/phpversion.rs - Lowering:
src/codegen/lower_inst/builtins.rs:543 (lower_phpversion) - Function symbol:
lower_phpversion()
Lowering notes
- Lowers
phpversion()as the compiler package version string.
Runtime helpers
No direct __rt_* helpers captured — the lowering is inlined or routes through another builtin.
Signature summary
function phpversion(): string
What the type checker enforces
- Arity: takes no arguments.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/network_env/phpversion.rs(eval_builtin!) - Dispatch hooks:
direct,values