#48282 [Opn->Asn]: error_reporting documentation

From: Date: Thu, 14 May 2009 15:50:39 +0000
Subject: #48282 [Opn->Asn]: error_reporting documentation
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-2258@lists.php.net to get a copy of this message
ID: 48282 Updated by: philip@php.net -Summary: inaccurate note about using integer value for error_reporting in "httpd.conf" Reported By: carsten_sttgt at gmx dot de -Status: Open +Status: Assigned Bug Type: Documentation problem Operating System: Windows_NT PHP Version: Irrelevant -Assigned To: +Assigned To: philip New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2009-05-14 15:01:20] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48282&edit=1

« previous php.doc.bugs (#2258) next »