26 if(self::$instance ===
null)
28 self::$instance =
new self();
40 return defined(
'HHVM_VERSION');
57 return (php_sapi_name() ==
'fpm-fcgi');
105 return ini_get(
'hhvm.log.runtime_error_reporting_level');
109 return ini_get(
'error_reporting');
120 return (
bool)ini_get(
'hhvm.log.use_log_file');
124 return (
bool)ini_get(
'log_errors');
135 return (
bool)ini_get(
'hhvm.debug.server_error_message');
139 return (
bool)ini_get(
'display_errors');
__toString()
A string representation of the runtime.
__construct()
The runtime is a constant state during one request, so please use the public static getInstance() to ...
isPHP()
Returns true when the runtime used is PHP.
isHHVM()
Returns true when the runtime used is HHVM.