Re: [RFC] [Discussion] Error backtraces v2
| From: | Thomas Bley | Date: | Thu, 19 Dec 2024 02:35:48 +0000 |
| Subject: | Re: [RFC] [Discussion] Error backtraces v2 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-126135@lists.php.net to get a copy of this message | ||
> Claude Pache <claude.pache@gmail.com> hat am 18.12.2024 22:59 CET geschrieben:
>
>
> > Le 5 déc. 2024 à 21:57, Eric Norris <eric.t.norris@gmail.com> a écrit :
> >
> > Hello yet again internals,
> >
> > I'd like to formally propose a continuation of the original error
> > backtraces RFC (https://wiki.php.net/rfc/error_backtraces):
> >
> > https://wiki.php.net/rfc/error_backtraces_v2
> >
>
>
> Hi,
>
> Would be reasonable to be able to recover the stack trace of the error as a string, in addition
> to the proposed format? In general, it is the format I use in my error/exception handlers for
> convenience.
>
> A utility function that stringify the trace would be sufficient, as the operation is
> non-trivial.
>
> —Claude
Some years ago, we had another rfc on this topic:
https://wiki.php.net/rfc/error_handler_callback_parameters_passed_by_reference
Best Regards
Thomas