System
class System
Core system helper class
Constants
UNKNOWN |
|
WINDOWS |
|
LINUX |
|
OSX |
|
Methods
Call static methods from instance
Get nodejs version
Get registered socket transports
Get php console ver
Get system info
Get apache version
Get apache modules
Set script execution tile limit (0 - unlimited)
Return php version
Return php extensions list
Return php extension version
Return true if php extension is instaed
Return true if PDO driver is installed
Return PDO drivers list
Return Stream wrappers
Return true if stream wrapper are installed
Get debug backtrace
Return true if script is run in console
Output text
Return OS
Get default output
Details
at line 34
mixed
__call(string $name, array $arguments)
Call static methods from instance
at line 44
static string|null
getNodeJsVersion()
Get nodejs version
at line 54
static array
getStreamTransports()
Get registered socket transports
at line 64
static mixed
getPhpConsoleVersion()
Get php console ver
at line 77
static array
getSystemInfo()
Get system info
at line 97
static string|null
getApacheVersion()
Get apache version
at line 107
static array
getApacheModules()
Get apache modules
at line 118
static void
setTimeLimit(integer $time)
Set script execution tile limit (0 - unlimited)
at line 128
static string
getPhpVersion()
Return php version
at line 138
array
getPhpExtensions()
Return php extensions list
at line 156
static string|null
getPhpExtensionVersion(string $phpExtensionName)
Return php extension version
at line 169
static boolean
hasPhpExtension(string $phpExtensionName)
Return true if php extension is instaed
at line 180
static bool
hasPdoDriver(string $driverName)
Return true if PDO driver is installed
at line 192
static array
getPdoDrivers()
Return PDO drivers list
at line 202
static array
getStreamWrappers()
Return Stream wrappers
at line 213
static bool
hasStreamWrapper(string $protocol)
Return true if stream wrapper are installed
at line 223
static array
getBacktrace()
Get debug backtrace
at line 233
static bool
isConsole()
Return true if script is run in console
at line 245
static void
writeLine(string|null $text, string|null $eof = null)
Output text
at line 258
static int
getOS()
Return OS
at line 281
static string
getDefaultOutput()
Get default output