#46196 [Opn->Asn]: restore_error_handler ist broken

From: Date: Mon, 29 Sep 2008 12:47:46 +0000
Subject: #46196 [Opn->Asn]: restore_error_handler ist broken
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-129328@lists.php.net to get a copy of this message
ID: 46196 Updated by: tony2001@php.net 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

« previous php.bugs (#129328) next »