#30314 [Opn->Csd]: php.ini documentation about E_All/E_Strict confusing.

From: Date: Sun, 28 Nov 2004 13:23:55 +0000
Subject: #30314 [Opn->Csd]: php.ini documentation about E_All/E_Strict confusing.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-69550@lists.php.net to get a copy of this message
ID: 30314 Updated by: tony2001@php.net Reported By: empx at gmx dot de -Status: Open +Status: Closed Bug Type: Unknown/Other Function Operating System: Windows PHP Version: 5.0.2 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2004-10-05 13:12:50] 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-10-03 00:20:28] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30314&edit=1

« previous php.bugs (#69550) next »