#40779 [Opn]: error_reporting values in manuals
| From: | rquadling@php.net | Date: | Mon, 12 Mar 2007 09:22:57 +0000 |
| Subject: | #40779 [Opn]: error_reporting values in manuals | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969375764@lists.php.net to get a copy of this message | ||
ID: 40779
Updated by: rquadling@php.net
Reported By: h dot sim at econ dot usyd dot edu dot au
Status: Open
Bug Type: Documentation problem
Operating System: N/A
PHP Version: Irrelevant
New Comment:
2047 is accurate for PHP V5.1x and lower.
Previous Comments:
------------------------------------------------------------------------
[2007-03-12 09:18:11] rquadling@php.net
<?php var_export(E_ALL); ?>
produces 6143 on PHP 5.2.2-dev (cli) (built: Mar 9 2007 12:07:16)
on PHP 6.0.0-dev (cli) (built: Jan 8 2007 10:28:23), the value is
8191
These 2 values are accurate with regards to the documentation (E_STRICT
was added in PHP6, so 6143 + 2048 = 8191).
There are 2 issues here.
1 - The E_ALL encompasses new errorlevels as new versions of PHP are
developed.
2 - Documentation is not always uptodate outside of the English
version.
In this instance, the non-english pages have not been updated with the
new errorlevels.
------------------------------------------------------------------------
[2007-03-11 22:30:15] h dot sim at econ dot usyd dot edu dot au
Description:
------------
E_ALL value is 6143 in the following URL
http://au.php.net/manual/en/function.error-reporting.php
E_ALL value is 2047 in the following URLs
http://au.php.net/manual/de/function.error-reporting.php
http://au.php.net/manual/sk/function.error-reporting.php
http://au.php.net/manual/nl/function.error-reporting.php
http://au.php.net/manual/es/function.error-reporting.php
http://au.php.net/manual/pt_BR/function.error-reporting.php
Which one is correct?
Reproduce code:
---------------
N/A
Expected result:
----------------
N/A
Actual result:
--------------
N/A
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40779&edit=1