PEAR_Dependency::checkProgram()

PEAR_Dependency::checkProgram() -- Check external program

Synopsis

Описание

External program check method. Looks for executable files in directories listed in the PATH environment variable.

Параметр

mixed &$errmsg

this variable will contains an error message, if check fail

string $program

which program to look for

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

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

Заметка

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

    Поддержать сайт на родительском проекте КГБ