Vergleich inc/class_error.php - 1.8.38 - 1.8.39

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 61Zeile 61
		E_USER_WARNING					=> 'User Warning',
E_USER_NOTICE => 'User Notice',
E_USER_DEPRECATED => 'User Deprecated Warning',

		E_USER_WARNING					=> 'User Warning',
E_USER_NOTICE => 'User Notice',
E_USER_DEPRECATED => 'User Deprecated Warning',

		E_STRICT						=> 'Runtime Notice',

 
		E_RECOVERABLE_ERROR				=> 'Catchable Fatal Error',
MYBB_SQL => 'MyBB SQL Error',
MYBB_TEMPLATE => 'MyBB Template Error',

		E_RECOVERABLE_ERROR				=> 'Catchable Fatal Error',
MYBB_SQL => 'MyBB SQL Error',
MYBB_TEMPLATE => 'MyBB Template Error',

Zeile 100Zeile 99
		E_DEPRECATED,
E_NOTICE,
E_USER_NOTICE,

		E_DEPRECATED,
E_NOTICE,
E_USER_NOTICE,

		E_STRICT

 
	);

/**

	);

/**

Zeile 130Zeile 128
	 */
function __construct()
{

	 */
function __construct()
{

 
		if(version_compare(PHP_VERSION, '7.0', '<'))
{
$this->error_types[E_STRICT] = 'Runtime Notice';
$this->ignore_types[] = E_STRICT;
}


		// Lets set the error handler in here so we can just do $handler = new errorHandler() and be all set up.
$error_types = E_ALL;
foreach($this->ignore_types as $bit)

		// Lets set the error handler in here so we can just do $handler = new errorHandler() and be all set up.
$error_types = E_ALL;
foreach($this->ignore_types as $bit)