require_once "System.php";
mixed System::which (string $program [, boolean $fallback = FALSE])
mixed System::which
The command shows the full path of a command.
string $program - the command to search for
boolean $fallback - value to return in case of program not found
mixed - A string with the full path or FALSE if not found
This function can be called statically.
which man page