PEAR_Dependency::checkZend() – Check Zend version


require_once 'PEAR/Dependency.php';

mixed PEAR_Dependency::checkZend ( mixed &$errmsg , string $req , string ''}$relation = 'ge' )


Zend version check method


mixed &$errmsg

this variable will contains an error message, if check fail

string $req

which version to compare

string $relation

how to compare the version

Return value

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.

Check SAPI backend (Previous) PEAR_Dependency2 (Next)
Last updated: Sat, 26 May 2018 — 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.