Req #52563 [Asn->Opn]: [Feature request] error_reporting constant
| From: | aharvey@php.net | Date: | Mon, 09 Aug 2010 10:45:52 +0000 |
| Subject: | Req #52563 [Asn->Opn]: [Feature request] error_reporting constant | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-153282@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: Assigned
+Status: Open
Type: Feature/Change Request
Package: PHP options/info functions
Operating System: Any
PHP Version: Irrelevant
-Assigned To: aharvey
+Assigned To:
Block user comment: N
New Comment:
Bah, forgot I don't have karma for Zend. Patch against trunk about to be
attached: this seems harmless enough, and a quick Google suggests people
do expect this to work.
Previous Comments:
------------------------------------------------------------------------
[2010-08-07 19:20:42] mattgscox at hotmail dot com
Description:
------------
Feature request only;
For completeness, and coding clarity, please define constant E_NONE to
set error reporting to none rather than relying on the absolute integer
value of 0
Test script:
---------------
error_reporting(E_NONE);
Expected result:
----------------
[No error warning]
Actual result:
--------------
PHP Notice: Use of undefined constant E_NONE - assumed 'E_NONE' ....
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52563&edit=1