ID: 40779 Updated by: [EMAIL PROTECTED] Reported By: h dot sim at econ dot usyd dot edu dot au -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: N/A 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. I fixed it in de/, it/ and pt_BR/, others were just built from an old English version. Previous Comments: ------------------------------------------------------------------------ [2007-03-12 22:41:25] h dot sim at econ dot usyd dot edu dot au Thanks. The E_ALL value is listed as 2048 only for PHP 4 and PHP 5 in the following manual page. http://au.php.net/manual/en/function.error-reporting.php Once again, thank you. ------------------------------------------------------------------------ [2007-03-12 09:22:57] [EMAIL PROTECTED] 2047 is accurate for PHP V5.1x and lower. ------------------------------------------------------------------------ [2007-03-12 09:18:11] [EMAIL PROTECTED] <?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