26 if(self::$instance ===
null)
28 self::$instance =
new self();
40 return defined(
'HHVM_VERSION');
97 return ini_get(
'hhvm.log.runtime_error_reporting_level');
101 return ini_get(
'error_reporting');
112 return (
bool)ini_get(
'hhvm.log.use_log_file');
116 return (
bool)ini_get(
'log_errors');
127 return (
bool)ini_get(
'hhvm.debug.server_error_message');
131 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.