ID: 40779 Updated by: [EMAIL PROTECTED] 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] [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