spl_autoload_register(PHP 5 >= 5.1.2) spl_autoload_register — Register given function as __autoload() implementation ОписаниеRegister a function with the spl provided __autoload stack. If the stack is not yet activated it will be activated. If your code has an existing __autoload function then this function must be explicitly registered on the __autoload stack. This is because spl_autoload_register() will effectively replace the engine cache for the __autoload function by either spl_autoload() or spl_autoload_call(). Список параметров
Возвращаемые значенияВозвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки. Примеры
Пример #1 spl_autoload_register() example
<?phpРезультатом выполнения данного примера будет что-то подобное:
|
|
|
| © 2009 Тест скорости интернета | Boont.Ru |