php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30314 php.ini documentation about E_All/E_Strict confusing.
Submitted: 2004-10-03 00:20 UTC Modified: 2004-11-28 14:23 UTC
From: empx at gmx dot de Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 5.0.2 OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git 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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: empx at gmx dot de
New email:
PHP Version: OS:

 

 [2004-10-03 00:20 UTC] empx at gmx dot de
Description:
------------
While the online documentation says E_ALL does not include E_STRICT, (which is probably correct :), when you read the docs/examples about error-reporting in the php.ini(-dist/-recommended), you get the impression that E_ALL does include E_STRICT too.

Examples:

; E_ALL             - All errors and warnings
should get updated to something like:
; E_ALL             - All errors and warnings, except E_Strict

;   - Show all errors, except for notices and coding standards warnings
;
;error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT

If E_ALL does not include E_STRICT, then " & ~E_STRICT" shouldn't be needed here, right?

regards,
Mike


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-05 13:12 UTC] nlopess@php.net
The documentation is right (E_ALL doesn't include E_STRICT).

Now its up with the developers if they want to change the php.ini file or not.

Nuno
 [2004-11-28 14:23 UTC] tony2001@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 00:01:32 2024 UTC