ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
isHHVM () | |
Returns true when the runtime used is HHVM. | |
isPHP () | |
Returns true when the runtime used is PHP. | |
getVersion () | |
getName () | |
__toString () | |
A string representation of the runtime. | |
getReportedErrorLevels () | |
shouldLogErrors () | |
shouldDisplayErrors () |
Static Public Member Functions | |
static | getInstance () |
Private Member Functions | |
__construct () | |
The runtime is a constant state during one request, so please use the public static getInstance() to instantiate the runtime. |
Static Private Attributes | |
static | $instance = null |
Definition at line 9 of file class.ilRuntime.php.
|
private |
The runtime is a constant state during one request, so please use the public static getInstance() to instantiate the runtime.
Definition at line 19 of file class.ilRuntime.php.
ilRuntime::__toString | ( | ) |
A string representation of the runtime.
Definition at line 85 of file class.ilRuntime.php.
References getName(), and getVersion().
|
static |
Definition at line 24 of file class.ilRuntime.php.
References $instance.
Referenced by ilApc\getMemoryLimit(), ilErrorHandling\handleRuntimeErrors(), and ilErrorHandling\ilErrorHandling().
ilRuntime::getName | ( | ) |
Definition at line 70 of file class.ilRuntime.php.
References isHHVM().
Referenced by __toString().
ilRuntime::getReportedErrorLevels | ( | ) |
Definition at line 93 of file class.ilRuntime.php.
References isHHVM().
ilRuntime::getVersion | ( | ) |
Definition at line 55 of file class.ilRuntime.php.
References isHHVM().
Referenced by __toString().
ilRuntime::isHHVM | ( | ) |
Returns true when the runtime used is HHVM.
Definition at line 38 of file class.ilRuntime.php.
Referenced by getName(), getReportedErrorLevels(), getVersion(), isPHP(), shouldDisplayErrors(), and shouldLogErrors().
ilRuntime::isPHP | ( | ) |
Returns true when the runtime used is PHP.
Definition at line 47 of file class.ilRuntime.php.
References isHHVM().
ilRuntime::shouldDisplayErrors | ( | ) |
Definition at line 123 of file class.ilRuntime.php.
References isHHVM().
ilRuntime::shouldLogErrors | ( | ) |
Definition at line 108 of file class.ilRuntime.php.
References isHHVM().
|
staticprivate |
Definition at line 14 of file class.ilRuntime.php.
Referenced by getInstance().