public static function errorHandler($errno, $errstr, $file, $line, $context): bool
    {
        if (error_reporting() === 0) {
            return false;
        }
        
        error_log($errstr . PHP_EOL . "\tOrigin: " . $file . ':' . $line);
        
        if (DEBUG) {
            self::outputErrorHtml($errstr, time(), $file, $line);
        }
        
        return true;
    }
public static function errorHandler($errno, $errstr, $file, $line, $context): bool
    {
        if (error_reporting() === 0) {
            return false;
        }
        
        error_log($errstr . PHP_EOL . "\tOrigin: " . $file . ':' . $line);
        
        if (DEBUG) {
            self::outputErrorHtml($errstr, time(), $file, $line);
        }
        
        return true;
    }
public static function errorHandler ( $ errno , $ errstr , $ file , $ line , $ context ) : bool { if ( error_reporting ( ) === 0 ) { return false ; } error_log ( $ errstr . PHP_EOL . "\tOrigin: " . $ file . ':' . $ line ) ; if ( DEBUG ) { self :: outputErrorHtml ( $ errstr , time ( ) , $ file , $ line ) ; } return true ; }
Xentriq's error handler.

@param int $errno
The level of the error, as an integer.

@param string $errstr
The error message.

@param string $file
The file from which the error originated.

@param int $line
The linenumber from which the error originated.

@param array $context
Additional context information for the error.

@see http://php.net/manual/en/function.set-error-handler.php

@return bool Whether to stop the normal error handler.
Xentriq s error handler .