ID: 46196 Updated by: [EMAIL PROTECTED] Reported By: php at benjaminschulz dot com -Status: Open +Status: Assigned -Bug Type: *General Issues +Bug Type: Scripting Engine problem PHP Version: 5.3CVS-2008-09-29 (snap) -Assigned To: +Assigned To: helly
Previous Comments: ------------------------------------------------------------------------ [2008-09-29 12:37:14] php at benjaminschulz dot com Description: ------------ restore_error_handler doesn't work anymore in PHP 5.3.0alpha3-dev (cli) (built: Sep 29 2008 12:17:38) Reproduce code: --------------- function foo() { var_dump(__FUNCTION__); } set_error_handler("foo"); restore_error_handler(); trigger_error("foobar", E_USER_ERROR);' Expected result: ---------------- A standard error message. Actual result: -------------- string(3) "foo" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46196&edit=1