#49872 [Opn->Bgs]: Default for error_reporting() level not documented
| From: | rquadling@php.net | Date: | Wed, 14 Oct 2009 09:28:45 +0000 |
| Subject: | #49872 [Opn->Bgs]: Default for error_reporting() level not documented | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-2940@lists.php.net to get a copy of this message | ||
ID: 49872
Updated by: rquadling@php.net
Reported By: chealer at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: Documentation problem
Operating System: Debian
PHP Version: Irrelevant
New Comment:
The level is optional and does not have a default value, though I
suppose you could argue that the default is the current error_reporting
level.
Previous Comments:
------------------------------------------------------------------------
[2009-10-14 09:14:18] chealer at gmail dot com
Description:
------------
error_reporting() has synopsis
int error_reporting ([ int $level ] )
which suggests it can be called without any argument and I indeed saw
such a call, but I have no idea what level is set then because the
default value is not documented.
http://ca2.php.net/manual/en/function.error-reporting.php
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49872&edit=1