PEAR_Dependency::checkPHP (Previous) (Next) PEAR_Dependency::checkSAPI

View this page in Last updated: Sun, 28 Sep 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

PEAR_Dependency::checkProgram()

PEAR_Dependency::checkProgram() -- Check external program

Description

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

Parameter

mixed &$errmsg

this variable will contains an error message, if check fail

string $program

which program to look for

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.

PEAR_Dependency::checkPHP (Previous) (Next) PEAR_Dependency::checkSAPI

Download Documentation Last updated: Sun, 28 Sep 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.