Re: RE: [PHP-DEV] [VOTE] Improve unserialize() error handling

From: Date: Fri, 28 Oct 2022 16:58:54 +0000
Subject: Re: RE: [PHP-DEV] [VOTE] Improve unserialize() error handling
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-118901@lists.php.net to get a copy of this message
On 28.10.2022 at 18:25, Jeffrey Dafoe wrote: >> a) "Add the \UnserializationFailedException and wrap any Throwables in PHP >> 8.x?" >> >> This proposal was declined with 20 (Yes) to 12 (No) Votes (62.5%). >> >> b) "Increase the severity of emitted E_NOTICE to E_WARNING in PHP 8.x?" >> >> This proposal was accepted with 33 (Yes) to 2 (No) Votes (94.3%). >> >> c) "Throw \UnserializationFailedException instead of emitting >> E_NOTICE/E_WARNING in PHP 9.0?" >> >> This proposal depends on declined proposal (a) and thus results will be >> disregarded. It would have been accepted with 23 (Yes) to 8 (No) Votes >> (74.2%). > > Informally, doesn't this mean that voters wanted a and c in PHP9? Does this vote mean > it's dead for 9, or just that it needs a vote at some point in the future with the choices > grouped different? Right; at least that is what I'd like to have. -- Christoph M. Becker

« previous php.internals (#118901) next »