Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:119838 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 98152 invoked from network); 8 Apr 2023 21:04:53 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 8 Apr 2023 21:04:53 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 6C3131804D5 for ; Sat, 8 Apr 2023 14:04:52 -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.2 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) (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 ; Sat, 8 Apr 2023 14:04:51 -0700 (PDT) Received: by mail-pg1-f175.google.com with SMTP id y63so727321pgd.13 for ; Sat, 08 Apr 2023 14:04:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680987890; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=tiDOdVfoG8VfknhiPnAVC04PC/m9DQp6MKPG5cwomQw=; b=jhP8fhz5lV9SYs2ISB/bPTq5P34blPSy123QpCYyHP6cyWAZBv0wwDB871n6rj6KZl rqe4rGE1UWTNYEv3fP37kPY0Bum8p2yM/K6srgfmoPPWtBM1qzXm7mq+oe+OBeXxKPF6 Op3tDFOiTD+cvUOa65JKuDDF7lE0eOPYCC1MVj233GTGAR8CVNr1SieF1Mmn5ikzy48r mjDNN1n1LjfkIgpNcvyq5z9lmwaEcQgjDNuXvbaDdMuql7Pgt77dTBxq5sC6Ihm0G7dD oMSfAZRG7YbEwAyLMZh826QVydzconeWFF6hp2NUhodXSp6QFKKFWH3zbulRxWH4yPIb pUjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680987890; h=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=tiDOdVfoG8VfknhiPnAVC04PC/m9DQp6MKPG5cwomQw=; b=sKj2LTOM9KVAAB69cKWJB1OfXZM5P/C+cm/9G9UmqMY3ihKCFaS2o8iUTunNwxgluK tcbgjVv0Sm0En1qe4f6tk7V1PIbr4Uqcgj3pSu0UmUEMiTVdCU4+UEShNB9jT8e2ENr8 +qtswv72iYJwzqa0JiEUtMTXnch7+gmcQiloL7IJ+I3nnSQTUQsrEPx9Gey5U0CA2QbQ P1b7dr4womN6GO8UUHzX11aBAFkkQMlHAP1nqQGm2EMXU6gnZE5mCyYQ0opXHt6YAgt+ dFCFH09MtZnyNcmBSXHfwGN81G1FZmFFIB8dK3uT7edyZXx30tP2lbpd+I7pbtjj5pd3 dnPQ== X-Gm-Message-State: AAQBX9emc+6+q+yUN8w9Jp470j3ShwSYwpXZ87iUz+O7+MwuqxJYl59m mDd3lRNMzQvVKeKPqRXXcj6uL7rjWNwnlUGa2GKL+WJ+uVk= X-Google-Smtp-Source: AKy350ZP4Lsbxr4hk9vbrCZhYy1GrCfPQU4Tl8zqeq0n8VDwybc8i9Cwb4Y/uM79Ezaua6ZlZm2/pHmbwEeCRd5oIkg= X-Received: by 2002:a63:4ce:0:b0:514:1568:df6a with SMTP id 197-20020a6304ce000000b005141568df6amr1403299pge.11.1680987890341; Sat, 08 Apr 2023 14:04:50 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Sat, 8 Apr 2023 23:04:39 +0200 Message-ID: To: PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] Future stability of PHP? From: tovilo.ilija@gmail.com (Ilija Tovilo) Hi Stephan > 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. No worries, this seems like the appropriate place. > Is there a way to tell which APIs and language features will be stable > and which > might get changed or removed in the future? That way I could restrict > myself to > a stable subset for long-running projects (5 to 10 years). But I realize > that > such guarantees are difficult (or contra productive) when a language is > in flux > and I can understand if no one wants to do something like that. There's no such guarantee at the moment. Anything that is agreed upon by the 2/3 majority of voters is subject to change. > Some of my projects run for 5 to 10 years, in one case even 20 years. There are companies that offer extended lifecycle support for PHP versions that have officially reached EOL (examples being Zend or TuxCare). I'm not sure if those will get you to that 10 year mark. Note however that deprecation notices alone should not keep you from upgrading to a newer version, as they don't have any runtime effect with a correct production configuration and thus aren't considered breaking. We generally postpone larger breaking changes to major versions. In general, I do agree that we could minimize breaking changes more, and limit them to the things that actually provide a tangible benefit. Sadly, there's a conflict of interest here. There are people who want to keep running their existing websites without having to make any changes, and there are people who are using PHP daily and would like to see the language evolve. We would like to satisfy both of these groups but that is difficult when they are often directly opposed. I do think that if we only manage to satisfy the former, PHP will gradually become less and less significant. That would be sad. Ilija