Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:118897 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 845 invoked from network); 28 Oct 2022 14:01:42 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 28 Oct 2022 14:01:42 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 9C6BF180505 for ; Fri, 28 Oct 2022 07:01:40 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS24940 176.9.0.0/16 X-Spam-Virus: No X-Envelope-From: Received: from chrono.xqk7.com (chrono.xqk7.com [176.9.45.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 28 Oct 2022 07:01:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1666965698; bh=mM+x1BnfZtBtWuJWq31szDgCKq4uEDYYDQ+Q+Ha50XM=; h=Date:Subject:From:To:References:In-Reply-To:From; b=ARP1ehOx8jLDtgYC2F8A5qXwlODWHN06ZUYaNbuab4L+jSM9EtRWvCh0WlDziI/CW MFF4yELO6gclno3Ezs42MoMLgocGLFd9E3ZnTQx1u2E6qIc33ZE1zyIm6F+Nol4135 MD91E/nI3/SSTFMZJ6QkJmpIm92TDXAV3R6oCN0fHs2PYC8y16byn/TAi+Ks+MxviF m3ZkSalVrG5uoi6gDF5zTk+P540cZLs9+zzQHqpv8pKWnOe32JvSR1gHnAAkJd7k5D usFIA4E98GU/YBewDWEvvo73AWu/aO7vea+fLngVsSbtV68DUm/syhyLAqVaL32KEB XGgOavf9PM4OA== Message-ID: Date: Fri, 28 Oct 2022 16:01:35 +0200 MIME-Version: 1.0 Content-Language: en-US To: PHP internals References: <22177032-fe72-c39b-63fe-fa4368a70852@bastelstu.be> In-Reply-To: <22177032-fe72-c39b-63fe-fa4368a70852@bastelstu.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] [VOTE] Improve unserialize() error handling From: tim@bastelstu.be (=?UTF-8?Q?Tim_D=c3=bcsterhus?=) Hi On 10/14/22 15:44, Tim Düsterhus wrote: > Voting will run 2 weeks until: > > 2022-10-28 at 14:00 UTC > Voting 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