Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:119877 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 77671 invoked from network); 10 Apr 2023 20:21:11 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 10 Apr 2023 20:21:11 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id B82CE18054B for ; Mon, 10 Apr 2023 13:21:08 -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=-0.9 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS20857 149.210.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from outbound0.mail.transip.nl (outbound0.mail.transip.nl [149.210.149.69]) (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, 10 Apr 2023 13:21:07 -0700 (PDT) Received: from submission5.mail.transip.nl (unknown [10.103.8.156]) by outbound0.mail.transip.nl (Postfix) with ESMTP id 4PwL2n62W6zxNq9 for ; Mon, 10 Apr 2023 22:21:05 +0200 (CEST) Received: from [IPV6:2a02:a450:3eae:1:25b4:5401:9820:5290] (2a02-a450-3eae-1-25b4-5401-9820-5290.fixed6.kpn.net [IPv6:2a02:a450:3eae:1:25b4:5401:9820:5290]) by submission5.mail.transip.nl (Postfix) with ESMTPA id 4PwL2m5XsVz7tMC for ; Mon, 10 Apr 2023 22:21:04 +0200 (CEST) Message-ID: <1915e90c-0a9d-de26-c87c-9c99908154cf@demon-angel.eu> Date: Mon, 10 Apr 2023 22:21:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Content-Language: nl To: internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: ClueGetter at submission5.mail.transip.nl DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=transip-a; d=demon-angel.eu; t=1681158064; h=from:subject:to: references:in-reply-to:date:mime-version:content-type; bh=L5eiSzE9zFm4jcSf5EMImnY5GgHMDOyv/wsNjhk2T2I=; b=OHNR9pK0bz/GdkoWJameztp3a/AHod3LpnVoC5bYFJtKm8zoH1zgeYD6qVUWIME9JXs8cd GmqKpRaJDH3JPy7AW1E6fMUg5aIff0C5P3JV5sfk2LfFSeInLKGvYdl61Ww7Lr+b/0EX11 4c+dZCIt3fp3RSoIt7EajH1so9jP7ttbYu+qPua+KFpufQT8cjBjjt815nB+KVhq5VX50k 8vjUba4oRgbXgNGdZz0PkMojjiFbmLumV0ieVGl6yVrzJpdGCB/mBa5Kti/zOOk82/hoMZ vbr9YANRh53bQVC/eyJ5uvFHs8rjDOj2LhXIn8145pg7j08KXvmgYYJkwpZQRg== X-Report-Abuse-To: abuse@transip.nl Subject: Re: [PHP-DEV] Future stability of PHP? From: mark@demon-angel.eu (Mark Baker) On 10/04/2023 18:17, Pierre Joye wrote: > I understand agency work, managers pushing new features instead of a > cleaning some legacy. > > however years of ignoring deprecation notices (very few were introduced > right before 8.0). > > Most of them could have been fixed within a couple of hours in any code > base, if they had tests. > I would suggest, very very nicely, to review and rethink the development > flows of these projects instead of asking php to freeze. We're NOT asking PHP to freeze! We're asking for proper analysis of the effects of these changes on end users, and proper consideration of the time that it will take for end-users to upgrade... and the answer to that is NOT "within a couple of hours". Call it unnecesary overhead if you will, but many tech teams have process flows for their work that don't simply entail "run rector on your codebase and deploy". Even just the admin overheads of raising a ticket for the change, creating a Merge Request, Peer Review, etc can take a few hours of time in many teams. And that's before making the assumption that all older code has a good test suite, and CI pipeline... if it has, then it's probably code that's being updated regularly anyway, by developers that do try to keep everything up-to-date. Nor are end-user developers the only people that are affected. End-user developers typically have the luxury of writing their code for a single version of PHP, so upgrading the version is a step from one version to the next. Library writers don't have that luxury: their codebase normally has to work with a range of PHP versions including the latest release; and any fixes that are made for the latest release still have to work with older PHP versions, which can take significantly more effort to maintain. -- Mark Baker