public function throwAt($levels, $replace = false)
    {
        $prev = $this->thrownErrors;
        $this->thrownErrors = ($levels | E_RECOVERABLE_ERROR | E_USER_ERROR) & ~E_USER_DEPRECATED & ~E_DEPRECATED;
        if (!$replace) {
            $this->thrownErrors |= $prev;
        }
        $this->reRegister($prev | $this->loggedErrors);

        return $prev;
    }
public function throwAt($levels, $replace = false)
    {
        $prev = $this->thrownErrors;
        $this->thrownErrors = ($levels | E_RECOVERABLE_ERROR | E_USER_ERROR) & ~E_USER_DEPRECATED & ~E_DEPRECATED;
        if (!$replace) {
            $this->thrownErrors |= $prev;
        }
        $this->reRegister($prev | $this->loggedErrors);

        return $prev;
    }
public function throwAt ( $ levels , $ replace = false ) { $ prev = $ this -> thrownErrors ; $ this -> thrownErrors = ( $ levels | E_RECOVERABLE_ERROR | E_USER_ERROR ) & ~ E_USER_DEPRECATED & ~ E_DEPRECATED ; if ( ! $ replace ) { $ this -> thrownErrors |= $ prev ; } $ this -> reRegister ( $ prev | $ this -> loggedErrors ) ; return $ prev ; }
Sets the PHP error levels that throw an exception when a PHP error occurs.

@param int  $levels  A bit field of E_* constants for thrown errors
@param bool $replace Replace or amend the previous value

@return int The previous value
Sets the PHP error levels that throw an exception when a PHP error occurs .