#34329 [Opn->Bgs]: The bug #31675 is present in 5.04 and 5.1
| From: | sniper@php.net | Date: | Thu, 01 Sep 2005 14:18:20 +0000 |
| Subject: | #34329 [Opn->Bgs]: The bug #31675 is present in 5.04 and 5.1 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-84296@lists.php.net to get a copy of this message | ||
ID: 34329
Updated by: sniper@php.net
Reported By: marcos dot neves at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: *
PHP Version: 5.1.0RC1
New Comment:
Maybe you should read how the "bug" was resolved? It wasn't really bug
in PHP itself but just missing documentation.
Previous Comments:
------------------------------------------------------------------------
[2005-09-01 16:06:40] marcos dot neves at gmail dot com
Description:
------------
The bug #31675 is closed and says its fixed,
but the problem persist in 5.04 and 5.1.
Reproduce code:
---------------
<?
function error_handler1() {
echo "[".__FUNCTION__."]";
}
function error_handler2() {
echo "[".__FUNCTION__."]";
restore_error_handler();// does not restore
}
set_error_handler('error_handler1');
set_error_handler('error_handler2');
echo foo;
?>
Expected result:
----------------
[error_handler1]foo
Actual result:
--------------
[error_handler2]foo
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34329&edit=1