ID: 39363 Updated by: [EMAIL PROTECTED] Reported By: dsg at gleim dot com -Status: Open +Status: Bogus Bug Type: Feature/Change Request Operating System: Linux PHP Version: 5.2.0 New Comment:
>It is currently 2047 No, it's not: # php -r 'var_dump(E_ALL);' int(6143) Previous Comments: ------------------------------------------------------------------------ [2006-11-03 16:00:42] dsg at gleim dot com Description: ------------ Please change the value for E_ALL. It is currently 2047 which only encompasses old errors, not new ones. It occurs to me that you could change the value to the maximum integer value and it would truly represent all codes and leave room for expansion. This shouldn't break existing code since E_ALL is just used for comparison with flags. See http://www.php.net/manual/en/function.error-reporting.php. E_ALL should mean all errors, but it doesn't. This can be fixed. Reproduce code: --------------- // Suggestion item, not defect. error_reporting(E_ALL | E_STRICT | E_RECOVERABLE_ERROR) // This doesn't make sense. // All errors + strict errors + ??? + any new errors? Expected result: ---------------- Suggestion item, not bug. Actual result: -------------- Suggestion item, not bug. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39363&edit=1