Property | Type | Description | |
---|---|---|---|
$distro | string | Server Distribution | |
$linux | boolean | Linux flag | |
$mac | boolean | Mac flag | |
$os | string | Server OS | |
$php | string | PHP Version | |
$server | string | Server Software | |
$serverVersion | string | Server Software Version | |
$software | string | Full Server Software String | |
$unix | boolean | Unix flag | |
$windows | boolean | Windows flag |
Method | Description | |
---|---|---|
__construct ( ) : |
Constructor | |
getDistro ( ) : string | Method to get distro | |
getOs ( ) : string | Method to get OS | |
getPhp ( ) : string | Method to get PHP version | |
getServer ( ) : string | Method to get server | |
getServerVersion ( ) : string | Method to get server version | |
getSoftware ( ) : string | Method to get software | |
isLinux ( ) : boolean | Method to get Linux flag | |
isMac ( ) : boolean | Method to get Mac flag | |
isUnix ( ) : boolean | Method to get Unix flag | |
isWindows ( ) : boolean | Method to get Windows flag |
Method | Description | |
---|---|---|
detect ( ) : void | Method to detect properties. |
public __construct ( ) : |
||
return |
public getServerVersion ( ) : string | ||
return | string |
protected string $serverVersion | ||
return | string |