← All docs
is_writeable() — internals
Compiler internals for is_writeable(): lowering path, type checks, and runtime helpers.
is_writeable() — internals
Where it lives
- Signature:
src/builtins/io/is_writeable.rs - Lowering:
src/codegen/lower_inst/builtins/io.rs:5620 (lower_is_writeable) - Function symbol:
lower_is_writeable()
Lowering notes
- Lowers
is_writeable(path), PHP’s alias ofis_writable(path).
Runtime helpers
The following runtime helpers are referenced:
__rt_is_executable__rt_is_link__rt_is_writable
Signature summary
function is_writeable(string $filename): bool
What the type checker enforces
- Arity: takes exactly 1 argument.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/filesystem/is_writeable.rs(eval_builtin!) - Dispatch hooks:
direct,values