← All docs
spl_autoload_extensions() — internals
Compiler internals for spl_autoload_extensions(): lowering path, type checks, and runtime helpers.
spl_autoload_extensions() — internals
Where it lives
- Signature:
src/builtins/spl/spl_autoload_extensions.rs - Lowering:
src/codegen/lower_inst/builtins/spl.rs:178 (lower_spl_autoload_extensions) - Function symbol:
lower_spl_autoload_extensions()
Lowering notes
- Lowers
spl_autoload_extensions()against the mutable extension globals.
Runtime helpers
No direct __rt_* helpers captured — the lowering is inlined or routes through another builtin.
Signature summary
function spl_autoload_extensions(string $file_extensions = null): string
What the type checker enforces
- Arity: takes 0–1 arguments (1 optional).
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/symbols/spl_autoload_extensions.rs(eval_builtin!) - Dispatch hooks:
direct,values