public function handleFatalError()
    {
        unset($this->_memoryReserve);
        static::loadErrorExceptionClass();
        $error = error_get_last();

        if (ErrorException::isFatalError($error)) {
            $exception = new ErrorException($error['message'], $error['type'], $error['type'], $error['file'], $error['line']);
            $this->exception = $exception;
            $this->logException($exception);

            if ($this->discardExistingOutput) {
                $this->clearOutput();
            }
            $this->renderException($exception);
        }
    }
public function handleFatalError()
    {
        unset($this->_memoryReserve);
        static::loadErrorExceptionClass();
        $error = error_get_last();

        if (ErrorException::isFatalError($error)) {
            $exception = new ErrorException($error['message'], $error['type'], $error['type'], $error['file'], $error['line']);
            $this->exception = $exception;
            $this->logException($exception);

            if ($this->discardExistingOutput) {
                $this->clearOutput();
            }
            $this->renderException($exception);
        }
    }
public function handleFatalError ( ) { unset ( $ this -> _memoryReserve ) ; static :: loadErrorExceptionClass ( ) ; $ error = error_get_last ( ) ; if ( ErrorException :: isFatalError ( $ error ) ) { $ exception = new ErrorException ( $ error [ 'message' ] , $ error [ 'type' ] , $ error [ 'type' ] , $ error [ 'file' ] , $ error [ 'line' ] ) ; $ this -> exception = $ exception ; $ this -> logException ( $ exception ) ; if ( $ this -> discardExistingOutput ) { $ this -> clearOutput ( ) ; } $ this -> renderException ( $ exception ) ; } }
Handles fatal PHP errors.
Handles fatal PHP errors .