Req #52563 [Opn]: [Feature request] error_reporting constant
| From: | aharvey@php.net | Date: | Fri, 27 Aug 2010 10:53:23 +0000 |
| Subject: | Req #52563 [Opn]: [Feature request] error_reporting constant | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-153851@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52563&edit=1
ID: 52563
Updated by: aharvey@php.net
Reported by: mattgscox at hotmail dot com
Summary: [Feature request] error_reporting constant
Status: Open
Type: Feature/Change Request
Package: PHP options/info functions
Operating System: Any
PHP Version: Irrelevant
Block user comment: N
New Comment:
Updated the E_NONE patch to include mentioning the new constant in
UPGRADING.
Also added a requested patch to alter E_ALL to actually include all
error
reporting levels again, rather than excluding E_STRICT.
Previous Comments:
------------------------------------------------------------------------
[2010-08-27 12:52:59] aharvey@php.net
The following patch has been added/updated:
Patch Name: E_ALL
Revision: 1282906379
URL:
http://bugs.php.net/patch-display.php?bug=52563&patch=E_ALL&revision=1282906379
------------------------------------------------------------------------
[2010-08-27 12:41:42] aharvey@php.net
The following patch has been added/updated:
Patch Name: E_NONE
Revision: 1282905701
URL:
http://bugs.php.net/patch-display.php?bug=52563&patch=E_NONE&revision=1282905701
------------------------------------------------------------------------
[2010-08-24 18:44:31] stas@php.net
Frankly, I don't see why we need a constant meaning 0. What's wrong
with, say... 0?
------------------------------------------------------------------------
[2010-08-10 05:00:52] aharvey@php.net
The following patch has been added/updated:
Patch Name: E_NONE-and-E_EVERYTHING
Revision: 1281409252
URL:
http://bugs.php.net/patch-display.php?bug=52563&patch=E_NONE-and-E_EVERYTHING&revision=1281409252
------------------------------------------------------------------------
[2010-08-10 04:35:57] aharvey@php.net
It's a shame that E_ALL was changed to not mean "all errors" in the
first place, really.
I'll hack up a revised patch (along with an update to the UPGRADING
file, since I forgot that first time around) which defines E_EVERYTHING
= -1 -- we can bikeshed the exact name on Internals later, if necessary.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/bug.php?id=52563
--
Edit this bug report at http://bugs.php.net/bug.php?id=52563&edit=1