phpBB API Documentation
Class

phpbb\error_collector

class error_collector

Properties

$errors
$error_types

Methods

__construct(int|null $error_types = null)

Constructor.

install()

uninstall()

error_handler($errno, $msg_text, $errfile, $errline)

format_errors()

Details

at line 32
public __construct(int|null $error_types = null)

Constructor.

The variable $errortypes may be set to a mask of PHP error types that the collector should keep, e.g. E_ALL. If unset, the current value of the errorreporting() function will be used to determine which errors the collector will keep.

Parameters

int|null $error_types

See also

PHPBB3-13306

at line 38
public install()

at line 43
public uninstall()

at line 48
public error_handler($errno, $msg_text, $errfile, $errline)

Parameters

$errno
$msg_text
$errfile
$errline

at line 53
public format_errors()