SPL_AUTOLOAD(3) 1 SPL_AUTOLOAD(3)
spl_autoload - Default implementation for __autoload()
SYNOPSIS
void spl_autoload (string $class_name, [string $file_extensions = spl_autoload_extensions()])
DESCRIPTION
This function is intended to be used as a default implementation for __autoload(3). If nothing else is specified and spl_autoload_regis-
ter(3) is called without any parameters then this function will be used for any later call to __autoload(3).
PARAMETERS
o $class_name
- The lowercased name of the class (and namespace) being instantiated.
o $file_extensions
- By default it checks all include paths to contain filenames built up by the lowercase class name appended by the filename exten-
sions .inc and .php.
RETURN VALUES
No value is returned.
PHP Documentation Group SPL_AUTOLOAD(3)