Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 16460 программистов и 1714 роботов. Сейчас ищут 1218 программистов ...
PEAR_Registry::updatePackage
Вернуться к: PEAR_Registry
PEAR_Registry::updatePackage
PEAR_Registry::updatePackage() – Update Package information
Synopsis
require_once 'PEAR/Registry.php';
boolean PEAR_Registry::updatePackage ( string $package , array $info , bool $merge = true )
Updates the existing information of a Package in the registry.
Parameter
- string $package
-
Package name
- array $info
-
information to update
- mixed $merge
-
if FALSE the old informations will be deleted completly an replaced with the new; if TRUE update only - unchanged values will remain.
Return value
boolean - Returns TRUE on success, FALSE on failure.
Throws
Error code | Error value | Meaning | Solution |
---|---|---|---|
" |
Note
This function can not be called statically.
Вернуться к: PEAR_Registry