Re: [VOTE] Improve unserialize() error handling

From: Date: Tue, 18 Oct 2022 07:32:02 +0000
Subject: Re: [VOTE] Improve unserialize() error handling
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-118838@lists.php.net to get a copy of this message
On 18 October 2022 02:26:59 BST, Tim Starling <tstarling@wikimedia.org> wrote: > If I'm reading the implementation correctly, the original exception > is thrown away, there's no way to get the > original message and backtrace. > That will make debugging more difficult. I believe that is not true. It should be wrapped and accessible through ->previous on the exception. cheers Derick

« previous php.internals (#118838) next »