System::which

System::which

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

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.

© Copyright 2003-2014 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.