spl_autoload()
function spl_autoload(string $class, string $file_extensions = null): void
Default implementation for __autoload().
Parameters:
$class(string)$file_extensions(string), defaultnull, optional
Returns: void
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how spl_autoload is implemented in the compiler, see the internals page.