ID: 46449 Updated by: [EMAIL PROTECTED] Reported By: david at grudl dot com -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: Windows PHP Version: 5.2.7RC2 New Comment:
See Dmitry's comment in bug #45895. Thanks. Previous Comments: ------------------------------------------------------------------------ [2008-11-01 14:10:24] david at grudl dot com Description: ------------ ErrorException stack trace is invalid. This bug has been fixed in PHP 5.3 Reproduce code: --------------- function f($a, $b) { throw new ErrorException; // Exception works ok } f(1, 2); Expected result: ---------------- Fatal error: Uncaught exception 'ErrorException' in example.php:6 Stack trace: #0 D:\Web\test2.php(9): f(1, 2) #1 {main} thrown in example.php on line 6 Actual result: -------------- Fatal error: Uncaught exception 'ErrorException' in example.php:6 Stack trace: #0 D:\Web\test2.php(9): f() #1 {main} thrown in example.php on line 6 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46449&edit=1