RE: [PHP-DEV] [VOTE] Improve unserialize() error handling
| From: | Jeffrey Dafoe | Date: | Fri, 28 Oct 2022 16:25:10 +0000 |
| Subject: | RE: [PHP-DEV] [VOTE] Improve unserialize() error handling | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-118900@lists.php.net to get a copy of this message | ||
> 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?
-Jeff