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
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how spl_autoload is implemented in the compiler, see the internals page.