System::which

System::which -- show full path of a command

Synopsis

require_once "System.php";

mixed System::which (string $program [, boolean $fallback=false])

Description

The command shows the full path of a command.

Parameter

Return value

mixed - A string with the full path or false if not found

Note

This function can be called statically

See

which man page