src/PhpSigep/ErrorHandler.php
public static function addError($errno, $errstr = '', $errfile = '', $errline = 0)
    {
        $stack = & static::$stack[count(static::$stack) - 1];
        $stack = new ErrorException($errstr, 0, $errno, $errfile, $errline, $stack);
    }
public static function addError($errno, $errstr = '', $errfile = '', $errline = 0)
    {
        $stack = & static::$stack[count(static::$stack) - 1];
        $stack = new ErrorException($errstr, 0, $errno, $errfile, $errline, $stack);
    }
public static function addError ( $ errno , $ errstr = '' , $ errfile = '' , $ errline = 0 ) { $ stack = & static :: $ stack [ count ( static :: $ stack ) - 1 ] ; $ stack = new ErrorException ( $ errstr , 0 , $ errno , $ errfile , $ errline , $ stack ) ; }
Add an error to the stack

@param int $errno
@param string $errstr
@param string $errfile
@param int $errline
@return void
Add an error to the stack