ID:               47473
 Updated by:       [email protected]
 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:

\php53vc6ts>php ..\php53snapvc9\47473.php

Warning: set_error_handler() expects the argument
(ErrorHandler::handleError) to be a valid callback in
C:\Users\pierre\Documents\test\php53snapvc9\47473.php on line 4


I suppose it happens in typo3 under certain conditions and not simply
with the code you gave here. Please provide a full script to reproduce
the crash.



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

[2009-02-23 09:23:10] typo3 at maltejansen dot de

I just tested it with

PHP 5.3 - Windows x86 VC6 (thread safe))  [12.41MB] - 2009-Feb-23
08:00:00

and it still crashes...

By the way, the crash is confirmed by several other users:

http://lists.netfielders.de/pipermail/typo3-project-5_0-general/2009-February/001878.html

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

[2009-02-22 21:24:33] [email protected]

Please try using this CVS snapshot:

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

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



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

[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

Reply via email to