spl_autoload_extensions()
function spl_autoload_extensions(string $file_extensions = null): string
Register and return default file extensions for spl_autoload.
Parameters:
$file_extensions(string), defaultnull, optional
Returns: string
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_extensions.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how spl_autoload_extensions is implemented in the compiler, see the internals page.