Re: [VOTE] Improve unserialize() error handling
| From: | Tim Düsterhus | Date: | Fri, 28 Oct 2022 14:01:35 +0000 |
| Subject: | Re: [VOTE] Improve unserialize() error handling | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-118897@lists.php.net to get a copy of this message | ||
Hi
On 10/14/22 15:44, Tim Düsterhus wrote:
Voting will run 2 weeks until: 2022-10-28 at 14:00 UTCVoting just closed. The RFC was partly accepted: 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%). ----------------- The implementation for the accepted proposal (b) is already completed and waiting for review at: https://github.com/php/php-src/pull/9629. Best regards Tim Düsterhus