Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:119870 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 60671 invoked from network); 10 Apr 2023 18:30:12 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 10 Apr 2023 18:30:12 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 8BF70180550 for ; Mon, 10 Apr 2023 11:30:11 -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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, 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-ua1-f53.google.com (mail-ua1-f53.google.com [209.85.222.53]) (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 11:30:11 -0700 (PDT) Received: by mail-ua1-f53.google.com with SMTP id r21so8610869uaf.6 for ; Mon, 10 Apr 2023 11:30:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1681151410; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=8RjLXhUOCNe1cwJ1roQDWKFdrDJKXR0fRKUm+WkUjRA=; b=nKXFvXdp7/p6dvtJtLtHv2lSx4Ky8/qS94RnsXZcPAUd1Uogq+IELEGO0Tp0wiGsgD x5B2PpyjOXix8+5ugUvPDCKPxgRIZYcjbWLScWl+hlsQMJFy67wlgy3VryCoZINYG8iZ bAayIisGkFmKEM0Hmg7K5bK4q6rtSGa9n/mKWa9egTWYDzRLYLDrNk0dnBKRA+VJfqiC Kea269LHar2YCWPo1g/k4SYtgcPVDglvPfLj6GjENF17j2OayDjz3ZucK/uQrK4w3uUn 7UXcs3LSyhMYxq6LeSUDO/o4p91TQklDx/qXmOM1fm3b6H+5UeR94/QKrEdWeqCpLHZy SFOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681151410; h=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=8RjLXhUOCNe1cwJ1roQDWKFdrDJKXR0fRKUm+WkUjRA=; b=MgUnLRPOVucsJfwLV6KkBYHTFkMMVOJbyqn63IZhghzB1/n4egbGDiABvIXo3iOMbN /xks0vI953UVKpFcHqjIKzIpQiqCUAUO4N7Kw8AdLA7BMUcMofvFy173DrnUW4SgYbsQ Q3fid4c2h7/7J2AIpeDSgDYnh7F/ptL133eimbNR3s+1Ie9DTBN+cjL2TTDOWFsDJl0N 0GlAaHkaWHeBwqQWTdWNUKBLWgpqGDye4BOBnDf+LwVoRSvYxBU5AsWUGmkl1oNlxYv0 rNys5tfZZ8Y9ZELLdCjoyuvIVulLGlDNIJ4Use3peoX1ihIat+ULGgNQvbd4bP/6J1yQ yjEw== X-Gm-Message-State: AAQBX9fP1vvjHQDUQEwE6Cnr1/yxLhCzbQtpBtoNGU9faMRPslOSficE lIeWofBH1uVbwqaty8gGRJT30LafxpaEhdpiNtjErTUr X-Google-Smtp-Source: AKy350YouQQh9dmg/uaJwP+mQ+ZW7N9IUfHwYh/Qlr/pl0e1QOmFL+0Pzaz2vtnv/XE5OYovneFWMpy8D+L7fm4fxvo= X-Received: by 2002:ab0:565d:0:b0:764:a9a0:9a55 with SMTP id z29-20020ab0565d000000b00764a9a09a55mr5286131uaa.0.1681151409968; Mon, 10 Apr 2023 11:30:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 10 Apr 2023 15:29:58 -0300 Message-ID: To: Pierre Joye Cc: Stephan Soller , PHP internals Content-Type: multipart/alternative; boundary="0000000000009ad87b05f8ff9057" Subject: Re: [PHP-DEV] Future stability of PHP? From: deleugyn@gmail.com (Deleu) --0000000000009ad87b05f8ff9057 Content-Type: text/plain; charset="UTF-8" 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 the > > wind is > > blowing. > > > > A few days ago I migrated a project from PHP 7.1 to 8.2 and the amount 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 PHP > > (as in > > language and API breaks) and I looked at the RFCs. I got the impression > > that > > static typing has a lot of traction now and I have no idea of what the > > 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 development > flows of these projects instead of asking php to freeze. > > best, > Pierre > I resent the sentiment of "if your code or development process was exactly like mine you wouldn't be here complaining" and I believe nobody is asking PHP to freeze. Not everyone has the ability to fix every deprecation within 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 for 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 versions, 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. > --0000000000009ad87b05f8ff9057--