← All docs

spl_autoload_extensions()

Register and return default file extensions for spl_autoload.

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), default null, optional

Returns: string

Availability

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.