#48282 [Asn->Csd]: error_reporting documentation
| From: | vrana@php.net | Date: | Thu, 19 Nov 2009 10:40:09 +0000 |
| Subject: | #48282 [Asn->Csd]: error_reporting documentation | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-3224@lists.php.net to get a copy of this message | ||
ID: 48282
Updated by: vrana@php.net
Reported By: carsten_sttgt at gmx dot de
-Status: Assigned
+Status: Closed
Bug Type: Documentation problem
Operating System: Windows_NT
PHP Version: Irrelevant
Assigned To: philip
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2009-05-14 15:50:39] philip@php.net
Although it's a little vague, this description is somewhat intentional.
E_ALL changes over time and this includes both additional and
integrated
values. However, as you point out here it could be clearer. To most ALL
means ALL so -1 means ALL.
This bug is being changed to better document error_reporting as some of
its information is only listed under the function error_reporting()
docs
(like the changelog) when really all the function does is change the
ini
setting.
------------------------------------------------------------------------
[2009-05-14 15:01:20] carsten_sttgt at gmx dot de
Description:
------------
Hallo,
on this page [1] I can read:
| So in place of E_ALL consider using a larger value to
| cover all bit fields from now and well into the future,
| a numeric value like 2147483647.
But 2147483647 (or -1, like you can read at the function
error_reporting()) is enabling all errors, not only those which are part
of E_ALL (6143).
e.g. in 5.x E_STRICT is not part of E_ALL, but will printed with
2147483647 / -1.
Regards,
Carsten
[1]
http://de.php.net/manual/en/errorfunc.configuration.php#ini.display-errors
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=48282&edit=1