PEAR_Registry::removePackageDep | PEAR_Registry::updatePackage |
PEAR_Registry | |
PEAR Manual | |
require_once 'PEAR/Registry.php'; |
mixed PEAR_Registry::setPackageDep (
string $package
, string $new_version
, array $rel_deps = array()
)
Update or insert a the dependencies of a package, prechecking that the package won't break any dependency in the process. (Dependencies of type 'pkg' only.
Package name
Version of the Package
Package dependencies
mixed - TRUE if no dependencies found; or array with names of missing or outdated Packages
Error code | Error value | Meaning | Solution |
" |
This function can not be called statically.
PEAR_Registry::removePackageDep | PEAR_Registry::updatePackage |
PEAR_Registry | |
PEAR Manual | |