#39363 [NEW]: Suggest different value for E_ALL
| From: | dsg at gleim dot com | Date: | Fri, 03 Nov 2006 16:00:43 +0000 |
| Subject: | #39363 [NEW]: Suggest different value for E_ALL | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-104325@lists.php.net to get a copy of this message | ||
From: dsg at gleim dot com
Operating system: Linux
PHP version: 5.2.0
PHP Bug Type: Feature/Change Request
Bug description: Suggest different value for E_ALL
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 bug report at http://bugs.php.net/?id=39363&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39363&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39363&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39363&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39363&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=39363&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=39363&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=39363&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=39363&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=39363&r=support
Expected behavior: http://bugs.php.net/fix.php?id=39363&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=39363&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=39363&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39363&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39363&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39363&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=39363&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=39363&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=39363&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=39363&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=39363&r=mysqlcfg