PHP 8.5.0 Beta 1 available for testing

Voting

: two plus one?
(Example: nine)

The Note You're Voting On

sam at notmyrealemail dot org
13 years ago
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'.

<< Back to user notes page

To Top