|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-11-01 14:34 UTC] felipe@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 07:00:01 2025 UTC |
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