← All docs
spl_autoload_call()
Try all registered __autoload() functions to load the requested class.
spl_autoload_call()
function spl_autoload_call(string $class): void
Try all registered __autoload() functions to load the requested class.
Parameters:
$class(string)
Returns: void
Availability
- Compiled (AOT): supported by the Elephc code generator.
eval()(magician interpreter): supported — declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/symbols/spl_autoload_call.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how spl_autoload_call is implemented in the compiler, see the internals page.