Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:119923 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 92210 invoked from network); 11 Apr 2023 14:18:55 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 11 Apr 2023 14:18:55 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E47D7180554 for ; Tue, 11 Apr 2023 07:18:54 -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.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,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.19]) (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 ; Tue, 11 Apr 2023 07:18:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1681222732; i=a.leathley@gmx.net; bh=2R96n+yXr1oyQQXZb5u+CAN/yR4OFia9DGFOvcg58vA=; h=X-UI-Sender-Class:Date:Subject:To:References:From:In-Reply-To; b=VuG/q4jyO9jTeQzeKtMzWOijLqduHDsj6rKK1YZz8G1066oYbXwqt6UsZOTauxqqP m2NG2BMih1yBXvqbGO7ZYMOz7u5E5XfpC1T3lpPsqZ0BRxXM42ck7sWHaPGPzZCZNZ aTLt6f8tSDujPBQVvUa+vWD3/3vDopXRejviPGXcpZ8UtqO3+nGhgCokr5ngiJ5IEu OibjwVFmHkDsVcdyPpCSHSuKZqv33Xx4zEBPFFnZZOYqJMxd+i1umKljhq2TYV1QR/ fT9D/zHmFp5RnAynTksZj1Mje3W0C18VULvQtRfJelc1a1M1ZvBAuEKXapq9JlauNl AxHRbCBAfrbRA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.178.120] ([24.134.51.41]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MYeMj-1pqpX51x2J-00VhPW for ; Tue, 11 Apr 2023 16:18:52 +0200 Message-ID: <58c4d43c-14a6-8eac-9d65-241ff9d0bad1@gmx.net> Date: Tue, 11 Apr 2023 16:18:52 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Content-Language: en-US To: internals@lists.php.net References: <8abbed60-5569-4eca-ad12-957877feed9b@app.fastmail.com> <32BD2279-5764-4F85-AF64-A8856EAEBB54@xdebug.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:z3XuO6WAaqaYpFhuOrwlZfh6bYtiW9OuTHsgEdecif1l9xYBZHZ lUgrFkL+xbVRhI6zvVeMElHSaMfw3+s6S/wdsIiV85dqd9oii4LY7Bt0hvBsGr80RENHRBw uSlSdMwT5T1OSJ3JiwnPe9SPEwa5fNUiB/+ch6EnYcjD1jrZmD7dyVJQcSi1IegccJtbvBw /RnEgq3F6lgzqhs/ry2gA== UI-OutboundReport: notjunk:1;M01:P0:6tXTPizLIm8=;pDXn56g5aQ+GU97Ljis6FrGEtNt qhj08tAy3H0idSlo7TdnYmN3FdQTksBXsdo2ETnanY5TQh+vNo2a+enAjsJf7Jvj8GI9Whq5/ 4iWaUk6EHfrHzQq68nC26uuJ9abCDCVkQ4vS0ukkV4tBtU3HzLy7eSe5X8xzQlSOAvolGIc+f QzbKSZ1hS+rYgFBzWBaMxhfbCkbTJq5cBy7YkrUsWPhAHw4PAsbftTnm4vShI4L+YN4jCoHjO idCzTrwZqCsCfLkciZ6ki56oMso/ysHO4I8RMLoxvJLqBh27ikG5PmQcrEOBOcCEZyZhZ8c0f iZCQcWWMG4ND2k8zB6qT2ChNF1PAc6kq8zIBpcKg63UqMbRcYmzUFWTC6GTQZnGeGCG6+eJs3 qhp4FgD3bMuvHDwy+dyYZYaeFwnJLsQ5XYcrHNSBo/SuVuN+uZ64VJTPniLgHXecb6POzH0EV 27ZHCjXYcPnomQCizg4263hir1zIBctqib8I1OVclyE4mGOUcP+mFB8+63Fy3ytWKSvxDM2Ge fjyThkjn7rit7/XZSE1nSGBCVJhoDEBG9Mimf/STuNTMjU2CaWpbqeFe2SUySYWMxQyNREBLx ZvC4CPr/uPoeWJBflEP2kyJK/NFV6qVxswd70YrfEewJD1KBRpVcAYYS080l1nYPOEX0qvGyY KlbZUFhIg/hTE7sT9nWOdRfeMz0HM+uucYVenTgmsCi7/9xIvvZJbBNvieM4RtCj6qbFdQZJo 4pqlubGkMtYkwF5DtS7ooTfDTSjpl8CsfnU0d2/PvUnzNTaC+epMypYLXNSqATC/4XptlmBJo djk0mOB+Ypfh8HX+DuFyyr9gqhBHLFHEj3nRlvAXfLkFYCTGC8X22eOQ07Wkb0A3rUwhLrNhh CSQitdXnx7o9n61t0ZqIwEqJaO2YqS0OYX1XwqIIBbleo+DkMfhBGhz8/vuSkf5uX+YwQuQac bwabwQ== Subject: Re: [PHP-DEV] Future stability of PHP? From: a.leathley@gmx.net (Andreas Leathley) On 11.04.23 15:56, Jeffrey Dafoe wrote: >> So turn off the deprecation warnings for now. They're just a heads up t= hat >> behaviour is going to change in the future, with PHP 9. >> >> I doubt you'd prefer not to be aware of the change well in advance. > Oh, absolutely. We run those "on" in our dev and QA environments but off= in production. I'm referring to the work required to mitigate the removal= once we plan to migrate to 9. Although our codebase is old, we are funded= to keep the code up to date. It's just that a handful of the changes, suc= h as removing dynamic properties, has such a large impact and such a quest= ionable benefit. Removing dynamic properties has multiple benefits - from avoiding typos/mistakes (which before were completely silent) from being able to refactor objects in PHP in general (after PHP9) to be more efficient. The RFC (https://wiki.php.net/rfc/deprecate_dynamic_properties) details those benefits quite well, if there were no benefits it would hardly have passed. This is one of the no-brainer changes for me, as the upgrade path with the attribute is so easy and there are so many benefits.