← All docs
spl_autoload_call() — internals
Compiler internals for spl_autoload_call(): lowering path, type checks, and runtime helpers.
spl_autoload_call() — internals
Where it lives
- Signature:
src/builtins/spl/spl_autoload_call.rs - Lowering:
src/codegen/lower_inst/builtins/spl.rs:151 (lower_spl_autoload_void) - Function symbol:
lower_spl_autoload_void()
Lowering notes
- Lowers no-op autoload calls by preserving arg effects and returning PHP null if used.
Runtime helpers
No direct __rt_* helpers captured — the lowering is inlined or routes through another builtin.
Signature summary
function spl_autoload_call(string $class): void
What the type checker enforces
- Arity: takes exactly 1 argument.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/symbols/spl_autoload_call.rs(eval_builtin!) - Dispatch hooks:
direct,values