dl(PHP 4, PHP 5) dl — Loads a PHP extension at runtime Описание
int dl
( string $library
)
Loads the PHP extension given by the parameter library . Use extension_loaded() to test whether a given extension is already available or not. This works on both built-in extensions and dynamically loaded ones (either through php.ini or dl()). Список параметров
Возвращаемые значенияВозвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки. If the functionality of loading modules is not available (see Note) or has been disabled (either by turning it off enable_dl or by enabling безопасный режим in php.ini) an E_ERROR is emitted and execution is stopped. If dl() fails because the specified library couldn't be loaded, in addition to FALSE an E_WARNING message is emitted. Примеры
Пример #1 dl() examples
<?phpПримечания
|
|
|
| © 2009 Тест скорости интернета | Boont.Ru |