Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:119884 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 93281 invoked from network); 10 Apr 2023 21:34:22 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 10 Apr 2023 21:34:22 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 15759180084 for ; Mon, 10 Apr 2023 14:34:21 -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_H3,RCVD_IN_MSPIKE_WL,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-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) (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 14:34:20 -0700 (PDT) Received: by mail-pl1-f179.google.com with SMTP id h24so5972119plr.1 for ; Mon, 10 Apr 2023 14:34:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1681162459; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=0uiJ2PonqOGPl8tNVK2ti7ADNcM9GL5CIyXNltGjk9s=; b=MYtr4Jb3elGXMyx0fWknv467PY0+xIvptPvxVR76ka2CPsJT3YdLmGUNN+uRo8N4y6 UUXiDQST/jqTwPbdCe/Mq77r2RccFaRJlxz8i6jjKbxcH2lm0He6LrcUgIzT1A+wIcF2 O+KreNcPnpcdRqD7e/zE3NjPcm3Ne7cXMPzwsflinb9MjGQgaqrMo2d1yFBygT1Sj3gT aTHtulzVKQbR3/QAv5ctHbqLLtKFaLhvRoEf/fWR+6QcNIESnuoUtRCSTSy5ULhGVBsI 7p/ifWQVuRC6qcRePhbbDEnYXGP1EZV/O5xH6oXsg7A1bA1mLVjBn/QGoyu10ujieMxG CuMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681162459; 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=0uiJ2PonqOGPl8tNVK2ti7ADNcM9GL5CIyXNltGjk9s=; b=hUAE8PdQ5Z+qyuzy+9byYki5Muj7IvgneXSzuumjzx4mdR9awq+7CBa4je8KgeAShR OgpbONkPfFhMNYVZtNGWLD+uKucNDNHnX0ujRCxMKxvlAEC3PMHEFEuoLLpjiByBIL1g Pkfj8Bn70p+lUmICpUXEVULFYODg66h2k11l11hRTnfXpz7SK4rZGZSRfGfRmbKbdCKx soUES0u/BAFPQsyR4s8maj/kCgetKqIKWYIoNCbWHxIvdsflJjZOnpQX8gtgzCErX0YL luNHENP65Y+Z318+VY/k7bgtAAkjUKhqktQO8SAqILlowAm/Th3BgJNMCDVxifvsnsoG Najg== X-Gm-Message-State: AAQBX9ec/zmv/z1aXUSGRDL7VCsuaMKrRjg3sY/V1XWM9+KZZWQi5V1S xrLOomz/LVzv1esT+6gd0RnHYllhEo1dxAaAUk8NECyTQyI= X-Google-Smtp-Source: AKy350Z9AC55aQU1pb0/EAlYZlYJZjOpz8yaSyCl7D44JEYdrlo/sgB/St3qA7UzG9l+aVWY1bfdSavZ+viHYZmOFOY= X-Received: by 2002:a17:902:ef95:b0:1a5:144c:27da with SMTP id iz21-20020a170902ef9500b001a5144c27damr2734306plb.9.1681162459317; Mon, 10 Apr 2023 14:34:19 -0700 (PDT) MIME-Version: 1.0 References: <85333a00-85a4-d9cd-b108-8f1a98347f88@demon-angel.eu> In-Reply-To: <85333a00-85a4-d9cd-b108-8f1a98347f88@demon-angel.eu> Date: Tue, 11 Apr 2023 00:33:52 +0300 Message-ID: To: Mark Baker Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary="00000000000032893105f9022320" Subject: Re: [PHP-DEV] Future stability of PHP? From: arvids.godjuks@gmail.com (Arvids Godjuks) --00000000000032893105f9022320 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 10 Apr 2023 at 23:43, Mark Baker wrote: > On 10/04/2023 19:04, Arvids Godjuks wrote: > > I also want to add that PHP is purely developed by open-source > contributor > > efforts who are limited in their numbers and not a lot of them are > getting > > compensated for it (exceptions being specific people working for > companies > > who have a vested interest in PHP development like JetBrains, hosting > > giants and some others. And now PHP Foundation is there to help people > get > > paid for their crucial roles in PHP project and their dedicated time). > > Yes we know, and we're very grateful; but that doesn't mean we should be > unquestioningly grateful! > > And some of us are also open-source contributors, not getting > compensated for it. We understand; and just as I try to take a > professional approach to my OS contributions, and assess the impact of > any change that may affect bc, I hope that PHP Internals does the same, > but I don't often see that. So am I expected to stay silent when I see > potential problems with bc breaks because I should just be grateful? > Almost all other languages have deep pockets behind them one way or the other. Frankly, they can afford it. PHP has no such option. So, in some way, yes, sometimes you just have to take the loss and move on. PHP has to prioritize the resources and relies on what people are interested in doing for the project. Historically PHP just can't maintain lots of legacy stuff, nor have long LTS releases - that's why there are only 3 versions of the engine ever supported at the same time. > > > > You also have a world on your hands that is changing - everywhere you > look > > things are going for a more typed approach. That's what developers of > today > > expect. That's the reality of how modern libraries are developed and ol= d > > libraries have been actively migrating to strict type code bases. This > code > > quality improvement absolutely takes a huge load off those developers' > > shoulders. I'm seeing libraries out there now that basically require PH= P > > 8.1 as a minimum because Enums are all the rage and almost half the > > libraries I use have introduced them in their code in the latest versio= ns > > and authors just flat-out tell you "use the older version of the lib or > > update your project" (and I have at least 7 of them in my code already > and > > that project will never run on anything lower than 8.2). Some of the > > biggest libraries out there have fully adopted SemVer and will bump the > > minimal PHP version quite aggressively. And will tell you to pay for > > commercial support or deal with it on your own. And now the Union types > are > > coming and I expect that to get adopted at a rapid pace by everyone and > > their dog. > > Yes it is changing, but at different speeds in different companies. > Changes aren't being adopted at that rapid pace by everyone and their > dog, that's the reality. > This is business. Adapt or be swallowed by competitors. This really has nothing to do with language development. 2 decades is enough for a commercial entity to realise something needs to be done about the code base= . Speaking of competition - PHP needs to move forward at a pace where it stays competitive with other languages too. The project has already stumbled once, that's why the RFC process and yearly release cycle was born. Because that thread was identified and people decided to do something about it. > > > > Just as owning your own house means you need to do the upkeep on a year= ly > > basis or it will become a mess, the same is with code and not maintaini= ng > > it - eventually, the roof will cave in and the costs of fixing it all > will > > skyrocket. And, frankly, this is the feeling I get from a lot of this > > thread - the roof has collapsed and people are put into impossible > > positions of "no, you can't have the time or resources to update the > > project to the new PHP version, here are 20 KPI's for the next 3 months > you > > need to hit". The codebase was run on a credit of "this will be fixed > down > > the line". Well, the debt collectors now what their debt, their late fe= es > > and lawyers want their slice of the pie. > > Do you think we're unaware of that! But you're suggesting that anybody > that isn't using the latest shiny release should be treated as though > they don't exist. They're not your problem, so forget about them. Many > of those developers would love to upgrade to the latest shiny release, > but that isn't always an option every November; that run-up to Christmas > can often be the busiest time of year for those developers, the time > when they are least in a position to go through an upgrade. > PHP 8 was released 2.5 years ago. To be frank, I have a feeling that the code base in question is never going to keep up with PHP even if it does 1 release every 2 years. The result will be the same. In my case, on multiple occasions, the management just decided to sunset the old systems and just build new once on modern code bases with modern frameworks, libraries and using all those bells and whistles like Psalm, phpstan, cs-fixer, run modern development practices. Some people left, new people got hired. Business moved on to have far more sustainable software on their hands that underpins it's whole existence. Most clients I worked for who clung to their old systems at this point are all defunct. Because competitors just ate them up eventually. > Telling them that the debt collectors and lawyers are here isn't going > to help them when the people that pay them so they can eat and have a > roof over their heads and care for their families is a slap in the face > to them when they are torn between business demands and wanting to do > technical upgrades. > The point I was making is that at that moment it's too late to do anything. That's when you close the business and hope you are not in the red. > > > And the attitude of some here on PHP Internals that we should just > ignore those who can't develop in greenfield environments using the > latest shiny, or that it should just be a simple upgrade step from last > version to current release... that's the equivalent of having unit tests > that only test the happy path. > In my opinion, it's not the job of the internals developers to solve legacy system issues. They are developing a language, they are making sure deprecations are issued well in advance, sometimes through multiple versions and only then the feature is completely removed or made a full-on error. Why a PHP language developer should care about a commercial company having a 20-year-old legacy system that has no resources to upkeep it's systems? I mean even Microsoft does not care enough and are sunsetting their Windows support even for customers who pay them literal bags of money and beg them to continue. But they still cut their losses because at some point it makes no damn sense for any amount of money. > > > -- > Mark Baker > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: https://www.php.net/unsub.php > > --=20 Arv=C4=ABds Godjuks +371 26 851 664 arvids.godjuks@gmail.com Telegram: @psihius https://t.me/psihius --00000000000032893105f9022320--