Bug #76577 [NEW]: outdated documentation concerning track_errors
| From: | mbiebl at messageconcept dot com | Date: | Wed, 04 Jul 2018 11:38:51 +0000 |
| Subject: | Bug #76577 [NEW]: outdated documentation concerning track_errors | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-15847@lists.php.net to get a copy of this message | ||
From: mbiebl at messageconcept dot com
Operating system: Windows Server 2016
PHP version: 7.2.7
Package: Documentation problem
Bug Type: Bug
Bug description:outdated documentation concerning track_errors
Description:
------------
In PHP 7.2, "track_errors = On" has been deprecated which means it is
recommended to no longer use this feature.
Looking at the php.ini-production file that is shipped inside the source
tarball, it says:
; track_errors
; Default Value: Off
; Development Value: On
; Production Value: Off
Here it says that the value for development mode is On. This is clearly
wrong, because looking at php.ini-development there is
; Store the last error/warning message in $php_errormsg (boolean).
; This directive is DEPRECATED.
; Default Value: Off
; Development Value: Off
; Production Value: Off
; http://php.net/track-errors
;track_errors = Off
So even in development mode, the value is Off. Either the section in
"Quick Reference" should be updated or preferrably removed (I don't see
a good reason mentioning a deprecated config option there).
I also miss a note at
http://php.net/manual/en/errorfunc.configuration.php#ini.track-errors
that this configuration option has been deprecated.
--
Edit bug report at https://bugs.php.net/bug.php?id=76577&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76577&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76577&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76577&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=76577&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=76577&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=76577&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=76577&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=76577&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=76577&r=support
Expected behavior: https://bugs.php.net/fix.php?id=76577&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=76577&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=76577&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=76577&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76577&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=76577&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=76577&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=76577&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=76577&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=76577&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=76577&r=mysqlcfg