23 return isset(
$_SERVER[
"REQUEST_URI"]) && !headers_sent();
34 $constants = get_defined_constants(
true);
35 if (array_key_exists(
'Core' , $constants)) {
36 foreach ($constants[
'Core'] as $constant => $value) {
37 if (substr($constant, 0, 2) ==
'E_' && $value == $error_code) {
if((!isset($_SERVER['DOCUMENT_ROOT'])) OR(empty($_SERVER['DOCUMENT_ROOT']))) $_SERVER['DOCUMENT_ROOT']
static translateErrorCode($error_code)
Translate ErrorException code into the represented constant.
static canSendHeaders()
Can we at this point in time send HTTP headers?
Whoops - php errors for cool kids.