PEAR_Dependency::checkOS
PEAR_Dependency::checkOS() – Check Operating system dependency
Synopsis
require_once 'PEAR/Dependency.php';
mixed PEAR_Dependency::checkOS (
string &$errmsg
, string $os
)
Description
Operating system dependencies check method
Parameter
-
string
&$errmsg
-
this variable will contains an error message, if check fail
-
string
$os
-
Name of the operating system
Return value
mixed
-
FALSE if dependency could be resolved
successfully(!); or an
PEAR_DEPENDENCY_* constant
in case of unresolved dependency.
Note
This function can not be called statically.