#48282 [NEW]: inaccurate note about using integer value for error_reporting in "httpd.conf"
| From: | carsten_sttgt at gmx dot de | Date: | Thu, 14 May 2009 15:01:20 +0000 |
| Subject: | #48282 [NEW]: inaccurate note about using integer value for error_reporting in "httpd.conf" | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-2257@lists.php.net to get a copy of this message | ||
From: carsten_sttgt at gmx dot de
Operating system: Windows_NT
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: inaccurate note about using integer value for error_reporting in
"httpd.conf"
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 bug report at http://bugs.php.net/?id=48282&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48282&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48282&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48282&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=48282&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48282&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=48282&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=48282&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=48282&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=48282&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=48282&r=support
Expected behavior: http://bugs.php.net/fix.php?id=48282&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=48282&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=48282&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=48282&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48282&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=48282&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=48282&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=48282&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=48282&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=48282&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=48282&r=mysqlcfg