_drupal_error_handler_real

function _drupal_error_handler_real

_drupal_error_handler_real($error_level, $message, $filename, $line, $context)

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

core/includes/errors.inc, line 60
Functions for error handling.

Code

function _drupal_error_handler_real($error_level, $message, $filename, $line, $context) {
  if ($error_level & error_reporting()) {
    $types