PHP Bugs  
php.net | support | documentation | report a bug | advanced search | search howto | statistics | login

go to bug id or search bugs for  

Bug #48282 error_reporting documentation
Submitted:14 May 3:01pm UTC Modified: 19 Nov 10:40am UTC
From:carsten_sttgt at gmx dot de Assigned to:philip
Status:Closed Category:Documentation problem
Version:Irrelevant OS:Windows_NT
View/Vote Developer Edit Submission

Welcome! If you don't have a SVN account, you can't do anything here. You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
SVN Username: SVN Password:
Quick Fix:
Status: Assign to:
Category:
Summary:
From: carsten_sttgt at gmx dot de
New email:
Version: OS:
New/Additional Comment:

[14 May 3:01pm 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-erro
rs

[14 May 3:50pm 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.
[19 Nov 10:40am 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.

[19 Nov 10:40am 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)

RSS feed | show source 

PHP Copyright © 2001-2009 The PHP Group
All rights reserved.
Last updated: Sat Nov 21 10:30:49 2009 UTC