function _drupal_error_handler

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.

3 string references to '_drupal_error_handler'
ExceptionController::getLastCaller in drupal/core/lib/Drupal/Core/ExceptionController.php
Gets the last caller from a backtrace.
_drupal_bootstrap_configuration in drupal/core/includes/bootstrap.inc
Sets up the script environment and loads settings.php.
_drupal_get_last_caller in drupal/core/includes/errors.inc
Gets the last caller from a backtrace.

File

drupal/core/includes/bootstrap.inc, line 2226
Functions that need to be loaded on every Drupal request.

Code

function _drupal_error_handler($error_level, $message, $filename, $line, $context) {
  require_once DRUPAL_ROOT . '/core/includes/errors.inc';
  _drupal_error_handler_real($error_level, $message, $filename, $line, $context);
}