php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #48282 error_reporting documentation
Submitted: 2009-05-14 15:01 UTC Modified: 2009-11-19 10:40 UTC
From: carsten_sttgt at gmx dot de Assigned: philip (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Windows_NT
Private report: No CVE-ID: None
 [2009-05-14 15:01 UTC] 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



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-05-14 15:50 UTC] 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-11-19 10:40 UTC] vrana@php.net
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.


 [2009-11-19 10:40 UTC] svn@php.net
Automatic comment from SVN on behalf of vrana
Revision: http://svn.php.net/viewvc/?view=revision&revision=290973
Log: Explain E_ALL replacement (bug #48282)
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Jun 15 04:00:01 2026 UTC