php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #26472 E_ALL changed its value to 4095 and now back to 2047 again.
Submitted: 2003-11-30 10:59 UTC Modified: 2003-12-07 11:05 UTC
From: mfischer@php.net Assigned: betz (profile)
Status: Closed Package: Documentation problem
PHP Version: 5.0.0b2 (beta2) OS: All
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mfischer@php.net
New email:
PHP Version: OS:

 

 [2003-11-30 10:59 UTC] mfischer@php.net
Description:
------------
Since the addition of E_STRICT, the value of E_ALL has changed from 2047 to 4095.

This may affected the php_value directive for apache and related issues where no symbolic but only the numeric value can be set.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-30 15:45 UTC] betz@php.net
Whats the value of E_Strict? 
Haven't cvs compiled and its not changend in Beta2. 
 
Thx 
Friedhelm 
 [2003-11-30 15:49 UTC] derick@php.net
If it changed from 2047 to 4095, what is the differece? :

4095-2047= 2048 :)
 [2003-12-01 06:54 UTC] betz@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, 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/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 [2003-12-02 05:01 UTC] mfischer@php.net
Funny, shortly after I reported this bug, it has been decieded to NOT include E_STRICT in E_ALL; this means the value of E_ALL has been changed back to its original value of 2047 ;-)

Sorry for the fuz; better not write documentation on moving targets.
 [2003-12-07 09:32 UTC] betz@php.net
better not submitting doc bugs about moving targets ;-)

Ok, I'll take care.
Am I right this _is_ the final solution:

E_ALL 2047
E_STRICT 2048
E_ALL does not include E_STRICT
standard setting for error_reporting in php5 
E_ALL & ~E_NOTICE & ~E_STRICT

Friedhelm
 [2003-12-07 09:46 UTC] derick@php.net
> standard setting for error_reporting in php5 
> E_ALL & ~E_NOTICE & ~E_STRICT

That doesnt make sense, as E_ALL does not include E_STRICT. It's just what it was in PHP 4: E_ALL & ~E_NOTICE.

The rest was ok.


 [2003-12-07 10:47 UTC] betz@php.net
you are right, of course;-)
 [2003-12-07 11:05 UTC] betz@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, 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/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 [2020-02-07 06:12 UTC] phpdocbot@php.net
Automatic comment on behalf of betz
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=a2a469fd5f2f9bdad5ef5d314d543daa4326b648
Log: real bugfix #26472 E_STRICT available with PHP5
 [2020-02-07 06:12 UTC] phpdocbot@php.net
Automatic comment on behalf of betz
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=47849ec863c3950db0dec42f4ca784b4a33b4817
Log: bugfix #26472 E_STRICT added default values for error_reporting bitmask allows xor  in php.ini
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Nov 19 10:00:01 2025 UTC