Bug #76577 [Opn->Csd]: outdated documentation concerning track_errors
| From: | salathe@php.net | Date: | Mon, 02 Sep 2019 13:05:11 +0000 |
| Subject: | Bug #76577 [Opn->Csd]: outdated documentation concerning track_errors | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-16922@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76577&edit=1
ID: 76577
Updated by: salathe@php.net
Reported by: mbiebl at messageconcept dot com
Summary: outdated documentation concerning track_errors
-Status: Open
+Status: Closed
Type: Bug
Package: Documentation problem
Operating System: Windows Server 2016
PHP Version: 7.2.7
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=3d050d3f2f7f94f5d10245007d0c2302f7800246
Log: Fix #76577: outdated documentation concerning track_errors
Previous Comments:
------------------------------------------------------------------------
[2019-09-02 13:01:23] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=347919
Log: Fix #76577: outdated documentation concerning track_errors
Cf. <https://wiki.php.net/rfc/deprecations_php_7_2#php_errormsg>
------------------------------------------------------------------------
[2018-07-04 11:38:49] mbiebl at messageconcept dot com
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 this bug report at https://bugs.php.net/bug.php?id=76577&edit=1