PEAR_Dependency::checkPackage | PEAR_Dependency::checkProgram |
PEAR_Dependency | |
PEAR Manual | |
require_once 'PEAR/Dependency.php'; |
mixed PEAR_Dependency::checkPHP (
mixed &$errmsg
, string $req
, string $relation = 'ge'
)
PHP version check method
this variable will contains an error message, if check fail
which version to compare
how to compare the version
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.
PEAR_Dependency::checkPackage | PEAR_Dependency::checkProgram |
PEAR_Dependency | |
PEAR Manual | |