Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:116391 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 29475 invoked from network); 15 Nov 2021 19:44:42 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 15 Nov 2021 19:44:42 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 49ADB1804FF for ; Mon, 15 Nov 2021 12:39:29 -0800 (PST) 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.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS3301 81.224.0.0/12 X-Spam-Virus: No X-Envelope-From: Received: from ts201-smtpout75.ddc.teliasonera.net (ts201-smtpout75.ddc.teliasonera.net [81.236.60.180]) (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 ; Mon, 15 Nov 2021 12:39:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telia.com; s=tssemail; t=1637008769; bh=7mgwe8MwH/13AfVazkUSZVsVpjUILSqUXzvJ2XReEgg=; h=Message-ID:Date:MIME-Version:Subject:To:References:From:In-Reply-To; b=pdTAOtCRh1p7fldWOwh2Vtc5sKgvdTLw8Oa5LgIKyAHkSMYsGou5FJWbp/dWp9ZTAZDJNV32sjKqB/PcLhYWaSMjHa05vqMDaA7Jw59zAMWFTH87WlZ5CWPCRBpgWK9VvwO3po/QxFd6NACKlZttMsCKCYISTpwjejvhil+FB9u861MGxrIsdNpDJSJGTrOJS+NxFTUR4DPbyT+sH9LWv/1tmV1Hj3Q4GpyfNkuVYmTLeDOhLUzs1nJjLzNWG5q8xJIguWU/tSZxbgNs3cMAxBxLFRwnv1MTp5UXSD8MbJ4jvxR96xsnK+7U1Pvy7AoiZTeUOY66zZVknIC7sFReXw== X-RG-Rigid: 6184E1C80091E7A9 X-Originating-IP: [213.64.245.126] X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvuddrfedtgdduuddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuvffgnffktefuhgdpggftfghnshhusghstghrihgsvgdpqfgfvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepkfffgggfuffvfhfhjggtgfesthekredttdefjeenucfhrhhomhepuehjnphrnhgpnfgrrhhsshhonhcuoegsjhhorhhnrdigrdhlrghrshhsohhnsehtvghlihgrrdgtohhmqeenucggtffrrghtthgvrhhnpeduhfdttefgkefhtdevveeuvdelhfetteegveegkeefgeffheffheetkefhieetieenucfkphepvddufedrieegrddvgeehrdduvdeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrdejrdduudgnpdhinhgvthepvddufedrieegrddvgeehrdduvdeipdhmrghilhhfrhhomhepuhekleeltdeigedujeesphhnvgdrthgvlhhirgdrtghomhdprhgtphhtthhopeguvghrihgtkhesphhhphdrnhgvthdprhgtphhtthhopehinhhtvghrnhgrlhhssehlihhsthhsrdhphhhprdhnvghtpdhrtghpthhtohepnhhikhhithgrrdhpphhvsehgmhgrihhlrdgtohhm X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Received: from [192.168.7.11] (213.64.245.126) by ts201-smtpout75.ddc.teliasonera.net (5.8.716) (authenticated as u89906417) id 6184E1C80091E7A9; Mon, 15 Nov 2021 21:39:26 +0100 Message-ID: Date: Mon, 15 Nov 2021 21:39:26 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 Content-Language: en-GB To: Derick Rethans , Nikita Popov Cc: PHP internals References: Reply-To: =?UTF-8?Q?Bj=c3=b6rn_Larsson?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Re: [RFC] Deprecate dynamic properties From: internals@lists.php.net ("Björn Larsson via internals") Den 2021-11-15 kl. 10:52, skrev Derick Rethans: > Dear Internals, > > On Wed, 10 Nov 2021, Nikita Popov wrote: > >> On Wed, Aug 25, 2021 at 12:02 PM Nikita Popov wrote: >> >>> This RFC takes the more direct route of deprecating this >>> functionality entirely. I expect that this will have relatively >>> little impact on modern code (e.g. in Symfony I could fix the vast >>> majority of deprecation warnings with a three-line diff), but may >>> have a big impact on legacy code that doesn't declare properties at >>> all. >>> >> >> I plan to open voting on this RFC soon. Most of the feedback was >> positive, apart from the initial choice of opt-int mechanism, and that >> part should be addressed by the switch to the >> #[AllowDynamicProperties] attribute. > > The voting is now open, but I think one thing was not taken into account > here, the many small changes that push work to maintainers of Open > Source library and CI related tools. > > In the last few years, the release cadence of PHP has increased, which > is great for new features. It however has not been helpful to introduce > many small deprecations and BC breaks in every single release. > > This invariably is making maintainers of Open Source anxious, and > frustrated as so much work is need to keep things up to date. I know > they are *deprecations*, and applications can turn these off, but that's > not the case for maintainers of libraries. > > Before we introduce many more of this into PHP 8.2, I think it would be > wise to figure out a way how to: > > - improve the langauge with new features > - keep maintenance cost for open source library and CI tools much lower > - come up with a set of guidelines for when it is necessary to introduce > BC breaks and deprecations. > > I am all for improving the language and making it more feature rich, but > we have not spend enough time considering the impacts to the full > ecosystem. > > I have therefore voted "no" on this RFC, and I hope you will too. > > cheers, > Derick > Hi, Maybe the RM's should have a mandate to keep track on deprecations for a specific release and be able to say: "Sorry the shop are closed for further deprecations in this release". What do you think? One could count the deprecations in the 8.x track and have a straw poll on it and/or ask what key deprecations do we see further for the 8.x? Is even the "Dynamic properties" one, one of the last ones? r//Björn L