PEAR_Dependency::checkSAPI()

PEAR_Dependency::checkSAPI() -- Check SAPI backend

Synopsis

require_once 'PEAR/Dependency.php';

mixed PEAR_Dependency::checkSAPI (mixed &$errmsg, string $name [, string $req = NULL [, string $relation = 'has']])

Описание

SAPI backend check method. Version comparison is not yet available here.

Параметр

mixed &$errmsg

this variable will contains an error message, if check fail

string $name

name of SAPI backend

string $req

which version to compare (currently unused)

string $relation

how to compare versions (currently hardcoded to 'has')

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

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 йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ