#47473 [Opn->Fbk]: set_error_handler() crashes the

From: Date: Sun, 22 Feb 2009 21:24:34 +0000
Subject: #47473 [Opn->Fbk]: set_error_handler() crashes the
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-134098@lists.php.net to get a copy of this message
 ID:               47473
 Updated by:       jani@php.net
 Reported By:      typo3 at maltejansen dot de
-Status:           Open
+Status:           Feedback
 Bug Type:         Reproducible crash
 Operating System: Windows Vista
 PHP Version:      5.3.0beta1
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/




Previous Comments:
------------------------------------------------------------------------

[2009-02-22 14:36:49] typo3 at maltejansen dot de

Description:
------------
set_error_handler() using set_error_handler. The bug occured first in
php5.3alpha2. In php5.3alpha3 it seemed to be solved. But in beta1 it's
there again.
(I could not find the old bug.) So please link it to the other one.

Reproduce code:
---------------
class ErrorHandler {
	public function __construct() {
		set_error_handler(array($this, 'handleError'));
	}
...
}


Expected result:
----------------
Should not crash.

Actual result:
--------------
Crash.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=47473&edit=1



Thread (15 messages)

« previous php.bugs (#134098) next »