note 107563 added to exception.gettrace
| From: | sam at notmyrealemail dot org | Date: | Fri, 17 Feb 2012 15:26:50 +0000 |
| Subject: | note 107563 added to exception.gettrace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-186196@lists.php.net to get a copy of this message | ||
Two important points about this function which are not documented:
1) The trace does not include the file / line at which the exception is thrown; that entry is only
recorded in the top-level getFile/Line methods.
2) Elements are returned in 'closest-first' order, e.g. if you have a script x which calls
function y which calls function z which throws an exception, then the first trace element will be
'Y' and the second will be 'X'.
----
Server IP: 69.147.83.197
Probable Submitter: 137.108.145.39 (proxied: 137.108.181.146)
----
Manual Page -- http://www.php.net/manual/en/exception.gettrace.php
Edit -- https://master.php.net/note/edit/107563
Del: integrated -- https://master.php.net/note/delete/107563/integrated
Del: useless -- https://master.php.net/note/delete/107563/useless
Del: bad code -- https://master.php.net/note/delete/107563/bad+code
Del: spam -- https://master.php.net/note/delete/107563/spam
Del: non-english -- https://master.php.net/note/delete/107563/non-english
Del: in docs -- https://master.php.net/note/delete/107563/in+docs
Del: other reasons-- https://master.php.net/note/delete/107563
Reject -- https://master.php.net/note/reject/107563
Search -- https://master.php.net/manage/user-notes.php