PEAR_Dependency::checkSAPI()
PEAR_Dependency::checkSAPI() -- Check SAPI backend
概要
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.
注意
この関数は、スタティックにコールする
ことはできません。