ID: 30635 User updated by: support at malyweb dot cz Reported By: support at malyweb dot cz -Status: Open +Status: Closed Bug Type: Zend Engine 2 problem Operating System: winXp PHP Version: 5CVS-2004-10-31 (dev) New Comment:
sorry, i just close this report ... Previous Comments: ------------------------------------------------------------------------ [2004-11-17 01:25:13] support at malyweb dot cz code is working fine now (I always get the expected result), nice work ... ------------------------------------------------------------------------ [2004-11-16 17:22:55] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.0-win32-latest.zip ------------------------------------------------------------------------ [2004-11-04 21:07:48] support at malyweb dot cz the code does not work: win XP, php 5.0.2: irregularly Fatal error: Uncaught exception 'Exception' with message 'oh no ... ;)' in C:\...\html\test.php:11 Stack trace: #0 {main} thrown in C:\...\html\test.php on line 11 OR Uncaught exception: oh no ... ;) win2000, php5.0.1 (maybe irrelevant): only the first one both is apache 2.0.52 ------------------------------------------------------------------------ [2004-11-04 16:03:44] [EMAIL PROTECTED] Cannot reproduce (CLI, FreeBSD): $ cat test.php <?php class core_exception { public function exceptionHandler($exception){ echo 'Uncaught exception: ', $exception->getMessage(), "\n"; } } set_exception_handler(array(new core_exception(), 'exceptionHandler')); throw new Exception('oh no ... ;)'); ?> $ php5 test.php Uncaught exception: oh no ... ;) ------------------------------------------------------------------------ [2004-11-01 00:11:32] support at malyweb dot cz just some more info: I've just downgraded php back to 5.0.2 - the difference is, that the code sometimes (irregulary :/) shows the expected result and "Fatal error: Uncaught exception 'Exception' with message 'oh no ... ;)' in ..." I wonder how is that possible - I have tried IE and Mozilla (i've suspected the cache for a while) the windowsXP built-in firewall is off ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/30635 -- Edit this bug report at http://bugs.php.net/?id=30635&edit=1