Drupal 7.0 beta2:
includes/bootstrap.inc file
drupal_environment_initialize() function
Line 509-510:
// Enforce E_ALL, but allow users to set levels not part of E_ALL.
error_reporting(E_ALL | error_reporting());
It doesn't seems logical for me. The E_ALL bits have "1" already. A bit OR doesn't matter. Then the error_reporting is always E_ALL.
Comments
Comment #1
foripepe commentedThe latest Drupal 7.0 beta3 has this bug too.
I suggest a patch, like this:
Comment #2
eric_a commentedCurrently, E_ALL is:
All errors and warnings, as supported, except of level E_STRICT.
So, works as designed?
Comment #3
foripepe commentedE_ALL is not problem. The problem, it is not possible to change to others (eg. E_ALL & ~E_NOTICE).
Comment #4
hansfn commentedSubscribe. Related bug report - #291026: change E_NOTICE to warning and allow selection of error level.
Comment #5
hansfn commentedwebchick just told me:
> This is now configurable under admin/config/development/logging. If you
> don't want it on in production, turn it off.
This means that you can hide notices from displaying. I'm closing this issue.