System::which – muestra el path completo de un comando


require_once "System.php";

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


Este comando muestra el path completo a un comando.


  • string $program - el comando que se busca

  • boolean $fallback - valor a devolver en caso de que el programa no se encuentre

Return value

mixed - Una cadebna con el path completo o FALSE si no se encuentra


This function can be called statically.

Obtiene el path del directorio temporal (Previous) Clases PPM (Next)
Last updated: Sat, 28 Nov 2015 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.