PEAR_Registry::updatePackage() – Update Package information


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.


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.


Possible PEAR_Error values
Error code Error value Meaning Solution


This function can not be called statically.

Update or insert dependencies of a Package (Previous) PEAR_Remote (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.