Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:119873 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 66583 invoked from network); 10 Apr 2023 19:01:57 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 10 Apr 2023 19:01:57 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 7571318054D for ; Mon, 10 Apr 2023 12:01:56 -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=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,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: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com [209.85.219.178]) (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 ; Mon, 10 Apr 2023 12:01:55 -0700 (PDT) Received: by mail-yb1-f178.google.com with SMTP id y69so12524047ybe.2 for ; Mon, 10 Apr 2023 12:01:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1681153315; x=1683745315; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Bxu3mBo4gf/wKFQFYfBvyQtMeh/QUJlT3SDWy1C3w20=; b=kng9c71/NbMgQCu2uFbJTn6+7PhXeRamyLE8T3Jffc7EIUDyaU2u229Z/MgtdGbrMt KNKNRTGlNU9cl1DiA0lTqqIqNOR1xS0DZdew/fmelQLa61dDR2hIKuxz+YainsRrAFL7 eNg2rTWnm6fsp09wqmQnbx13Rrm0YmdTG+55S+TBkpc5mqK77aPxRUHTH+7pScYHfaeJ 30HMbjiRWOUNq8OcflALogFHbUJPbXF9puNoPzqVhg7a8Amuw8qvI7F9IPXqPOaIONuy EfdAPVDADiVBlCDttKY5T2TC+OM1MgoQIKsUuT/3EjeBfM7l3AQwQ+ar1CGQlFcVM8MV op4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681153315; x=1683745315; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Bxu3mBo4gf/wKFQFYfBvyQtMeh/QUJlT3SDWy1C3w20=; b=hqE6VGX3Wuvo3etOCzJtVeuuBZ07l8gw7f3aSJnfnvpwDEct4CCaDyA9K21/JnuiVj 1MG/YrWcbkbETZNP29Na74zOvpIq9fGFuxnAXwS0f9iZ916JFMiD13san1g4JWUngQvs ALLgwrBCvpgL4XE6OKryhWipOxUbYvfzOYjo597r37Qzsb34ao06vDK+gh+g/4uo+atM BhcmsXZLjrUCNDLY8zKDBu+sWgJTtmJDanytMRjFmZm5yeD56p/H+fEAsxAp/Ogm8zi3 1hmb3+JyjHsBZ+uZjf9R27iLpnQoks9yNZg/itQgi4RcJfTi2HkU1DengS6mzAqeEJLH 6EUA== X-Gm-Message-State: AAQBX9drq4lW4XmD/t5ub4Op/u3ZLg+Nxvq4DpulPAO7nkqmoVJVkJM2 3F2w0QlvFjafCtvA/LP7WcZ41v8okqBhJ3mATaeUCl5b4+Nyzg== X-Google-Smtp-Source: AKy350bBYX+gAJPn3qj52dHL83Tjfd6JWj6ysPjtPF6JiNp+9vChdnfpHWtyEq5lNhgAVmNy3MriRayDOf655mLu5s8= X-Received: by 2002:a25:d416:0:b0:b8c:692:3e07 with SMTP id m22-20020a25d416000000b00b8c06923e07mr7591070ybf.10.1681153314915; Mon, 10 Apr 2023 12:01:54 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 10 Apr 2023 21:01:17 +0200 Message-ID: To: Deleu Cc: Pierre Joye , Stephan Soller , PHP internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Future stability of PHP? From: divinity76@gmail.com (Hans Henrik Bergan) several PHP versions will be maintained for 10 years by third-party vendors= . PHP5.6 will meet the 10 year mark by 28 august 2024, and freexian.com maintains PHP5.6 with multiple customers paying 6000=E2=82=AC/year for 5.6 maintenance. Canonical intends to maintain PHP7.0 until April 2026 for their Ubuntu Pro 16.04. Canonical intends to maintain PHP7.2 until April 2028 for their Ubuntu Pro 18.04. Canonical intends to maintain PHP7.4 until April 2030 for their Ubuntu Pro 20.04. Canonical intends to maintain PHP8.1 until April 2032 for their Ubuntu Pro 22.04. Red Hat does something similar for their RHEL customers. ~~ On Mon, 10 Apr 2023 at 20:30, Deleu wrote: > > On Mon, Apr 10, 2023, 1:17 PM Pierre Joye wrote: > > > hello, > > > > > > On Sun, Apr 9, 2023, 1:37 AM Stephan Soller > > wrote: > > > > > Hello, > > > > > > I'm sorry if this isn't the correct mailing list for that discussion = but > > I > > > couldn't find a more appropriate one where people actually know how t= he > > > wind is > > > blowing. > > > > > > A few days ago I migrated a project from PHP 7.1 to 8.2 and the amoun= t of > > > deprecations and fatal errors spooked me a bit (details below if you'= re > > > interested). That got me wondering about the long-term stability of P= HP > > > (as in > > > language and API breaks) and I looked at the RFCs. I got the impressi= on > > > that > > > static typing has a lot of traction now and I have no idea of what th= e > > > fallout > > > might be of changing a dynamically typed language into a statically > > > typed one. > > > > > > I keep reading this in multiple languages, pr even more frameworks. > > > > 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 developmen= t > > flows of these projects instead of asking php to freeze. > > > > best, > > Pierre > > > > I resent the sentiment of "if your code or development process was exactl= y > like mine you wouldn't be here complaining" and I believe nobody is askin= g > PHP to freeze. Not everyone has the ability to fix every deprecation with= in > a couple of hours and not everyone has tests. Yes, we get it, it's common > knowledge nowadays that code without test is unmanageable, but if you > inherited a 15 year old codebase developed by multiple developers in a > start-up mentality producing code faster than they could actually plan fo= r > and with no tests, its going to take some time to clean that up and if I > take longer than you would, does it mean I matter less as a PHP user? > > PHP 8 is pretty great to work with and a lot better than previous version= s, > but there was no opt-in aspect to a lot of PHP breakages. All that we're > asking here is for a bit more forgiveness to existing code that was > developed 2 decades ago by a complete different generation and still need > to run today while we clean it up. > > >