src/Logger.php
public static function handle_error($errno, $errstr, $errfile, $errline) {
		if (!(error_reporting() & $errno))
			return false;

		self::error(sprintf("%s [%s] %s. Line: %s. File: %s", human_error_code($errno), $errno, $errstr, $errline, $errfile));
		return true;
	}
public static function handle_error($errno, $errstr, $errfile, $errline) {
		if (!(error_reporting() & $errno))
			return false;

		self::error(sprintf("%s [%s] %s. Line: %s. File: %s", human_error_code($errno), $errno, $errstr, $errline, $errfile));
		return true;
	}
public static function handle_error ( $ errno , $ errstr , $ errfile , $ errline ) { if ( ! ( error_reporting ( ) & $ errno ) ) return false ; self :: error ( sprintf ( "%s [%s] %s. Line: %s. File: %s" , human_error_code ( $ errno ) , $ errno , $ errstr , $ errline , $ errfile ) ) ; return true ; }
This function is called when a PHP error occurs. It is unadivsed to call
this function manually.

@internal
@param int     $errno   The error number
@param string  $errstr  The error message
@param string  $errfile The file that caused the error
@param int     $errline The line that caused the error
@return bool
This function is called when a PHP error occurs . It is unadivsed to call this function manually .