|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-03-09 16:40 UTC] phpmpan at mpan dot pl
[2014-03-09 16:57 UTC] rasmus@php.net
-Status: Open
+Status: Not a bug
[2014-03-09 16:57 UTC] rasmus@php.net
[2014-03-09 17:11 UTC] eldmannen+php at gmail dot com
[2014-03-09 17:21 UTC] rasmus@php.net
[2014-03-09 17:27 UTC] eldmannen+php at gmail dot com
[2014-03-09 17:30 UTC] eldmannen+php at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 18 08:00:01 2025 UTC |
Description: ------------ The stack traces are unreadable. They already contain some markup such as <b> but are still pretty much unreadable due to all text on one line. Wrap the stack trace in <pre> tags, or use <br> at the end of the lines. Test script: --------------- <?php function a() { b(); } function b() { c(); } function c() { throw new Exception; } a(); Expected result: ---------------- Fatal error: Uncaught exception 'Exception' in /var/www/test.php:12 Stack trace: #0 /var/www/test.php(8): c() #1 /var/www/test.php(4): b() #2 /var/www/test.php(15): a() #3 {main} thrown in /var/www/test.php on line 12 Actual result: -------------- Fatal error: Uncaught exception 'Exception' in /var/www/test.php:12 Stack trace: #0 /var/www/test.php(8): c() #1 /var/www/test.php(4): b() #2 /var/www/test.php(15): a() #3 {main} thrown in /var/www/test.php on line 12