← All docs
php_uname() — internals
Compiler internals for php_uname(): lowering path, type checks, and runtime helpers.
php_uname() — internals
Where it lives
- Signature:
src/builtins/system/php_uname.rs - Lowering:
src/codegen/lower_inst/builtins/system.rs:672 (lower_php_uname) - Function symbol:
lower_php_uname()
Lowering notes
- Lowers
php_uname(mode?)through the target-aware uname runtime helper.
Runtime helpers
The following runtime helpers are referenced:
__rt_php_uname
Signature summary
function php_uname(string $mode = 'a'): string
What the type checker enforces
- Arity: takes 0–1 arguments (1 optional).
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/network_env/php_uname.rs(eval_builtin!) - Dispatch hooks:
direct,values