Re: [RFC] [Discussion] Error backtraces v2

From: Date: Wed, 18 Dec 2024 21:59:34 +0000
Subject: Re: [RFC] [Discussion] Error backtraces v2
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message


> Le 5 déc. 2024 à 21:57, Eric Norris <[email protected]> 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


Thread (13 messages)

« previous php.internals (#126134) next »