Method |
Description |
|
getCwd ( ) : string |
get current working directory |
|
getHomeDir ( ) : string | false |
Home directory of the current user |
|
getPhpBinary ( ) : string |
Retrieve path to php binary |
|
isLinux ( ) : boolean |
Returns true if operating system is
based on GNU linux. |
|
isMacOs ( ) : boolean |
Returns true if operating system is
based on apple MacOS. |
|
isNetware ( ) : boolean |
Returns true if operating system is
based on novell netware. |
|
isProgramInstalled ( string $program ) : boolean |
|
|
isRoot ( ) : boolean |
Test for Root UID on a POSIX system if posix_getuid() is available. |
|
isWindows ( ) : boolean |
Returns true if operating system is
based on Microsoft Windows. |
|