Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:118700 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 99789 invoked from network); 28 Sep 2022 18:37:57 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 28 Sep 2022 18:37:57 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 4A69C180504 for ; Wed, 28 Sep 2022 11:37:57 -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 ; Wed, 28 Sep 2022 11:37:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1664390276; bh=bZTAefVJAB9tCqtnEDQuqeMCcs0DGtNuSVHGEzSk4WM=; h=Date:Subject:From:To:References:In-Reply-To:From; b=AamyfpZHe4QKfAZQTC04X8fSOiy1bomRP4jKwbuFAONfcDNGyJ5Cuiz9YuQEh2NDD uG64pvebfNhsGTroVEX3cI01jIKqHQabe4IBnZGrkp3fkCkYMN/em/d7X19OgpaYrq YM1zS0hZ5dlzYnsbMxr/9M/180x8PFRmVMBuEhqmU8oI9hKxXqycPc3Lo4hzxGEbVJ NQDA/rwN/ZdrHYAPbr9hmOpA4wAtVuNW/FhFwCaOhcwbGt/ir7BrI7fGcxJHpcPzmY zg2r+rClYmkOt2inTRkYJdCaJO4m2s8MXgTP0wtsmSiI3IvfkeXVjmDvAXK52uC5Sa s5iwKSi46lSSw== Message-ID: Date: Wed, 28 Sep 2022 20:37:55 +0200 MIME-Version: 1.0 Content-Language: en-US To: "Christoph M. Becker" , Larry Garfield , php internals References: <530b3a9d-0ee4-6061-8c69-df672d238032@bastelstu.be> <628f27cd-d7f0-4a75-bf5b-f4812ff459a5@www.fastmail.com> <2474d6fc-a61d-19e8-b903-ff389dbb9ff6@bastelstu.be> <76b3ab60-8865-a0aa-3949-f9276cd35149@bastelstu.be> <720bc406-78f1-4f4f-b0fa-00c6eb541523@app.fastmail.com> <5c02132b-59b7-81dc-bd9f-a9d9210f7721@gmx.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] RFC [Discussion]: Improve unserialize() error handling From: tim@bastelstu.be (=?UTF-8?Q?Tim_D=c3=bcsterhus?=) Hi On 9/28/22 17:42, Tim Düsterhus wrote: > Would the increase of E_NOTICE to E_WARNING for the two cases that > currently emit E_NOTICE be something that even requires a vote or is > this something that can simply be decided by merging a PR? [1] In that > case the second and third vote could be simplified to "Convert E_* to > Exception" with the regular 2/3 majority required. > > [1] I would hope that unifying E_NOTICE/E_WARNING to E_WARNING > everywhere is uncontroversial. I've now created a standalone PR for this: https://github.com/php/php-src/pull/9629 While creating that one, I also came across this: https://github.com/php/php-src/pull/9630 Best regards Tim Düsterhus