Home
require_once 'PEAR/Dependency.php';
mixed PEAR_Dependency::checkPackage (mixed &$errmsg, string $name [, string $req = NULL [, string $relation = 'has']])
Package dependencies check method
this variable will contains an error message, if check fail
Name of the package to test
Required extension version to compare with
How to compare versions with eachother
mixed - FALSE if dependency could be resolved successfully(!); or an PEAR_DEPENDENCY_* constant in case of unresolved dependency.
This function can not be called statically.
© 2002-2004 Active-Venture.com Web Site Hosting Service
Disclaimers: This documentation is provided only for the benefits of our website hosting customers. For authoritative source of the documentation, please refer to http://pear.php.net/manual/
Recommended Resources: