PEAR_Dependency::checkPHP()

PEAR_Dependency::checkPHP() -- Check PHP version

Synopsis

require_once 'PEAR/Dependency.php';

mixed PEAR_Dependency::checkPHP (mixed &$errmsg, string $req [, string $relation = 'ge'])

Описание

PHP 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

Возвращаемое значение

mixed - FALSE if dependency could be resolved successfully(!); or an PEAR_DEPENDENCY_* constant in case of unresolved dependency.

Заметка

Эта функция не должна вызываться статически.


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ