[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:11:20 +0000 (19:11 +0200)
commitf9d3e50fd27fb5b572ddc750c318f0af6c3efb8e
tree35fdbcdaddde07ec46cd24cc3a2c62a906835873
parent0ce6db8b5979ec847d2093b417e20e224d628651
[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/6677
Reviewed-by: Philipp Gampe
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
t3lib/stddb/DefaultConfiguration.php
typo3/sysext/core/Classes/Error/ErrorHandler.php