Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:118696 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 75486 invoked from network); 28 Sep 2022 11:41:52 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 28 Sep 2022 11:41:52 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 87187180543 for ; Wed, 28 Sep 2022 04:41:48 -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.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS8560 212.227.0.0/16 X-Spam-Virus: No X-Envelope-From: Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 28 Sep 2022 04:41:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1664365303; bh=WSOdkV4fE6YKw2bs0xna9Hp2wDU31VqsIbXHZRc2Ddw=; h=X-UI-Sender-Class:Date:Subject:To:References:From:In-Reply-To; b=JPJojFzNQ0gFQFtuAWUOr0pSMh8awZzgiYMV3jZDif/4M/PNjyXkYX1kcDRu2fuWC 3MOVmkJvdPgwY+8W/FVvDwNIOgfTF/ZLdsXveCz4GtnH9js0a2GPEGUwmIcVQd6Mjw NBPhBmQwwXuiY+9pp+2mpc14SZpLc2r6O1oEfbvk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.2.130] ([79.220.93.232]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MSc1L-1oop9q1gz3-00SusM; Wed, 28 Sep 2022 13:41:43 +0200 Message-ID: <5c02132b-59b7-81dc-bd9f-a9d9210f7721@gmx.de> Date: Wed, 28 Sep 2022 13:41:42 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 To: 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> In-Reply-To: <720bc406-78f1-4f4f-b0fa-00c6eb541523@app.fastmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:6OqQsfXVBa6YnAoGNtfxKE/0S0yVQcUjCQvL+poLlTGZf9B5ErH bIeSpJ3TuFG3kMiCmJu8PJ9UKPhiifOUaSnSOVbI6R8sTOhRZIMqV0eRPJh9pVcoBIaRHf8 sjycZ/J5NqMNcb12ophaBDRWZrktsNrmvCX0EQJVUSfThDaJwe+TmG/qlfQZ10WkgmpU3db mBtHSFm5xRBaO7B4QIyIA== X-UI-Out-Filterresults: notjunk:1;V03:K0:+sGpj4K9HJE=:C3driMMCIE8FpoZJp6r0cW Nw+6Rbq5ijnmjgiKxAlDgEZl6rlG9UpFF36Py2bMX/m0ILTdAtfSk6hgV4js9jUXgqYtWxxKr 6TRm3zsiMYPZWkFU4dQHcpL5mJdePlPMfaeUe30br0ku3kjhxUuQ/Oqp2HzNgV8wcFDgmxSZO RPj1u4FXMkdEE/aYdERNw93xIslhtTpWRxmOTTCesrd+Rljc1BgXSPWGkh//09ZIYHpokwKuJ HYWBxgConQOnwZPqHdSAA3LQOI0wDoY/rD2B7q5MgB0hLOysKVdYLK61fJCqcRAb/XRp2qRb1 f5xMwd6R02bgWi0hi4rbLmVU67vqCh4+tM+konRH2dcR1dS0ODHzcb8ivMhP4fvyImslnvGTv +KRT3PfBMYoxMwy5cPte1HtjzDaY/gNx7IZN22tOwUg0DgFgvfILvS/OS4u6pVSC770m/xnpe cGgL/wL8mMLooDqHZJzMe8hS83vNTBodZuKfi5AV7U2JLDZLBVBEX/qJnXevjz/5Yvrxupz33 h0jn/wfBO0cmKmG4W9jZ/DYtDBiW+YcQHoVDU4FjLdd8phVylpo/sKY/dmijoJHJj5flSoKKh qJwbm39Xfjv9Hyk4PL7kMuqUNECYn79V3RrVGmez7PDlB9vCIGxM7qBTTTSaOuCu98qQVn69K buYK9ZkAs6wIKjcxnjOEU5hOkH22LpqLG4/UDlZL/rLWwqz5F4sv0CJO57ZlPqA1whvLJZBCy SqG2yUzKixPhSn6EOtc0NUFeZLhRf5IMmmOZ5D1tXIff3IqfeVKVM8+thxGdj2PlDQHhbjRyl rqsaXrhBNMhSThAfD78wiyMJV7PZuiQAcUBEBDSz/FIfIe2DteumOzRsvNyM7p1slfbdJ4dVi P80VdZ3PztzhRUKvTMH8I/JxIAVNNDqKYBR2ARGc6PIjJtsqoOUS8igkdcjmN9BZUJ6nihg7H 6l96hmQsKr27FSaKB5/BjfJXavYb3VcHdcQz8oO8iO4EjuY15wqYVjvgukp7h9LHjt2AnBPdU y7UbwsjaN2HdvQKSfsfHTsCaITCONX6kL04dNXy33L6baedjrSuz2p2US2io2+W5GGzdvykkn q8ABUn5QyLrabPlTNUGmuvOJryWjtVF6V2Lcrz7f4D20qeJk7zGfr9NUMnYjh1klDOW98z2FX HRXtxqjGEZ0fiTZhE41hDj0vcR Subject: Re: [PHP-DEV] RFC [Discussion]: Improve unserialize() error handling From: cmbecker69@gmx.de ("Christoph M. Becker") On 27.09.2022 at 22:11, Larry Garfield wrote: > On Tue, Sep 27, 2022, at 3:01 PM, Tim D=C3=BCsterhus wrote: > >> Thank you, I thought about what to do here and I've adjusted the option= s >> in the "increase to what" vote to make this a 3-way vote: >> >> https://wiki.php.net/rfc/improve_unserialize_error_handling#increasing_= the_severity_of_existing_warningsnotices >> >> Do you believe that my reasoning with regard to the interpretation of >> the vote's results is sound? A ranked choice vote should not necessary >> here, because the three options follow a natural order with regard to >> severity/possible breakage. > > Predicting people's second-place choice is risky business. This assumpt= ion seems logical on its face, but I'm sure there are people that will buc= k your expectations. > >> The reasoning is that unless =E2=80=9CE_WARNING in 8.x without future d= ecision=E2=80=9D receives more than 50%, more than 50% prefer an Exception= no later than 9.0. Unless =E2=80=9CUnserializationFailedException in 8.x= =E2=80=9D receives more than 50%, more than 50% prefer no Exception in 8.x= . > > If you want to go that route, I'd go all the way to an RCV vote and be d= one with it. Or else just make an executive decision as the RFC author an= d let the chips fall where they may. I'm generally not too happy with secondary votes. Sometimes you only support the primary vote for certain secondary options; to "be sure" that another secondary option won't "win", you'd need to vote "no" on the primary choice. I'd prefer a single vote with pre-selected details. I don't have any particular preference in this case, though. =2D- Christoph M. Becker