#35154Exclude E_STRICT from exceptionalErrors in PHP 5.4
Description
From PHP 5.4, E_STRICT became part of E_ALL
This leads to a whole bunch of thrown exception on PHP runtime notices.
To keep behavior of error handling with PHP 5.4, we need to exclude E_STRICT from exceptionalErrors:
I am not sure, if replacing:
E_ALL
with
E_ALL & ~E_STRICT
is working in combination with ^ operator.
For example, replace:
E_ALL ^ E_NOTICE
with
E_ALL & ~E_STRICT ^ E_NOTICE
Can any please confirm?
I can’t test ATM because PHP started to constantly segfault my apache.