1.20.x bootstrap.inc _backdrop_error_handler($error_level, $message, $filename, $line)

Provides custom PHP error handling.

Parameters

$error_level: The level of the error raised.

$message: The error message.

$filename: The filename that the error was raised in.

$line: The line number the error was raised at.

$context: An array that points to the active symbol table at the point the error occurred.

File

includes/bootstrap.inc, line 3200
Functions that need to be loaded on every Backdrop request.

Code

function _backdrop_error_handler($error_level, $message, $filename, $line) {
  require_once BACKDROP_ROOT . '/core/includes/errors.inc';
  _backdrop_error_handler_real($error_level, $message, $filename, $line);
}