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.
&$errmsg
this variable will contains an error message, if check fail
$name
name of SAPI backend
$req
which version to compare (currently unused)
$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.
This function can not be called statically.