previousSystem::tmpdir (Previous) (Next) PEAR Installer classesnext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

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

  • string $program - the command to search for

  • boolean $fallback - value to return in case of program not found

Return value

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

Note

This function can be called statically.

previousSystem::tmpdir (Previous) (Next) PEAR Installer classesnext

Download Documentation Last updated: Sun, 18 Oct 2009
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.