PHP Dokumentation: Function spl-autoload
12. Januar 2010 von werner
spl_autoload
(PHP 5 >= 5.1.2)
spl_autoload — Default implementation for __autoload()
Beschreibung
This function is intended to be used as a default implementation for __autoload(). If nothing else is specified and spl_autoload_register() is called without any parameters then this functions will be used for any later call to __autoload().
Parameter-Liste
- class_name
- file_extensions
By default it checks all include paths to contain filenames built up by the lowercase class name appended by the filename extensions .inc and .php.
Rückgabewerte
Es wird kein Wert zurückgegeben.