#50548 [Opn->Csd]: error_reporting() behavior incorrectly documented
| From: | degeberg@php.net | Date: | Tue, 22 Dec 2009 13:34:09 +0000 |
| Subject: | #50548 [Opn->Csd]: error_reporting() behavior incorrectly documented | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-3533@lists.php.net to get a copy of this message | ||
ID: 50548
Updated by: degeberg@php.net
Reported By: chealer at gmail dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2009-12-22 13:33:13] svn@php.net
Automatic comment from SVN on behalf of degeberg
Revision: http://svn.php.net/viewvc/?view=revision&revision=292477
Log: Fixes #50548.
------------------------------------------------------------------------
[2009-12-21 21:30:57] chealer at gmail dot com
Description:
------------
Description:
------------
error_reporting() has synopsis
int error_reporting ([ int $level ] )
and can be called without any argument, but then it doesn't behave
according to the description :
error_reporting Sets which PHP errors are reported
http://ca2.php.net/manual/en/function.error-reporting.php
Instead, the error reporting level is left unchanged when calling
error_reporting() (no argument).
"Get the current error_reporting level, optionally changing it"
might fix, but I'm sure there is a better modification to make
things crystal-clear.
This was originally reported in #49872.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50548&edit=1