[BUGFIX] Error handler registration accepts way too much PHP error types
authorMarcus Krause <marcus@t3sec.info>
Sat, 22 Sep 2012 12:21:58 +0000 (14:21 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 22 Sep 2012 17:49:11 +0000 (19:49 +0200)
commit5a835f9674ca081bd3ed4be1bd8d4aa07daf7b8a
tree5bf2d7686bc1a8dc585ba3129bd490dd44d7cde9
parent68d3f62dc19b05b976db43551d8e1f2efdded1ea
[BUGFIX] Error handler registration accepts way too much PHP error types

Taken from http://php.net/manual/en/function.set-error-handler.php
set_error_handler has limitations for error types to process.

In detail E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING,
E_COMPILE_ERROR, E_COMPILE_WARNING cannot handled by an user defined
function.

This issue is about reflecting this in config_default settings and
in t3lib_error_ErrorHandler to make sure to process only error types
we can handle.

Change-Id: I908aa33c07a7de69095dce3e0d74d19134733231
Fixes: #31827
Releases: 4.5, 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/14935
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
t3lib/config_default.php
t3lib/error/class.t3lib_error_errorhandler.php