#50849 [NEW]: set_error_handler claims it makes error_reporting() settings have no effec

From: Date: Tue, 26 Jan 2010 19:23:05 +0000
Subject: #50849 [NEW]: set_error_handler claims it makes error_reporting() settings have no effec
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3780@lists.php.net to get a copy of this message
From: chealer at gmail dot com Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: set_error_handler claims it makes error_reporting() settings have no effec Description: ------------ The set_error_handler() documentation contains: It is important to remember that the standard PHP error handler is completely bypassed. error_reporting() settings will have no effect and your error handler will be called regardless - however you are still able to read the current value of error_reporting and act appropriately. This is inexact. The standard PHP error handler is only bypassed for errors of a type included by $error_types. Even then, the $error_handler description suggests that the standard PHP error handler is not even bypassed: "If the function returns FALSE then the normal error handler continues." The whole page is very confusing regarding what happens to the normal error handler. -- Edit bug report at http://bugs.php.net/?id=50849&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50849&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50849&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50849&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=50849&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50849&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=50849&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=50849&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=50849&r=needscript Try newer version: http://bugs.php.net/fix.php?id=50849&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=50849&r=support Expected behavior: http://bugs.php.net/fix.php?id=50849&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=50849&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=50849&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=50849&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50849&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=50849&r=dst IIS Stability: http://bugs.php.net/fix.php?id=50849&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=50849&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=50849&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=50849&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=50849&r=mysqlcfg

« previous php.doc.bugs (#3780) next »