Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:119878 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 79966 invoked from network); 10 Apr 2023 20:36:21 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 10 Apr 2023 20:36:21 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 8E0AA1804F8 for ; Mon, 10 Apr 2023 13:36:20 -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,NICE_REPLY_A, 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-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.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 13:36:20 -0700 (PDT) Received: by mail-wr1-f53.google.com with SMTP id j1so9504220wrb.0 for ; Mon, 10 Apr 2023 13:36:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1681158978; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=uB/zmrJPSUj/AB5mpDkGU4/xCYSozXAv5D6jPcWtKzg=; b=QnRP7W9zpIupyGaPf3zT4+MScunFBnEOPrTUYI1KcgdLwkVXLINzKzmACXSJ8mbas/ TurzartrpUqBZR+cq8BPA6eQHxMPkHlniquvfI/hnIn2nfcbx/a3a0/xJmhhE/pOZgru qIK7saY//LQzoUZe6Ln0Dzq1SCvXjRcHj4mimd7JMCVGQR8P4FpPkdMmtmyXofdb6IZg lrNfTRG1LXAST5wcIEMAftVuYsrZFqK0UwahA0gTqg2/XGIBQICMSQLHHwiC0mLFl8o4 7zATZrAtyG7En4OTMipBqZhy4IPcSblcD6qh1wAt1fkpTuSQv+xcvHn5C0xlDqoMpIYg 3KKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681158978; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=uB/zmrJPSUj/AB5mpDkGU4/xCYSozXAv5D6jPcWtKzg=; b=kDvDb6G6zEF69ErCtwvg3K+VdgLvTky+b6cEimRR5qcJc9u1xJU0g/WDzCpfPECiQo lmIGruP7/HSzfpc+/M76ov8V5Mhs6zkX+MhiC1dfI/+WhcrI8q9au/yYdim+rl9GpgKV iO2lGFmAtQMxUURbrjra1suwu++DkckoHoi77/wnzU6mloYIu3Phy905hU5f82KJuUqn glrYWnMk9w2x+lKv2iefzKabP0o0/XWetJnKQILxqIdn0nBF8awemQKps5XKzTtE/hbe ATYdw93R4TjQnFT402ikei9PkDOPm1XSNWc+qufzm/j4CFwQelHAzX4JatUdrbgYHo0w hjWw== X-Gm-Message-State: AAQBX9d7jy843wtcfae6a84t054icrvBYSpT6hqoPDTmMkgqIyWFZMQy x7dPtMtPHnmyTM2Tt+AjKGNRKp0xgx8= X-Google-Smtp-Source: AKy350bDhaKnKjlBf9C9Yev4AzxvXa6LAR8Yhwe3Ipr0kFvwoq59ra8r5Z5uQyxI0FPT+d5uzG2prQ== X-Received: by 2002:a5d:4985:0:b0:2ef:b3ef:9e82 with SMTP id r5-20020a5d4985000000b002efb3ef9e82mr4685296wrq.57.1681158978444; Mon, 10 Apr 2023 13:36:18 -0700 (PDT) Received: from [192.168.0.22] (cpc83311-brig21-2-0-cust191.3-3.cable.virginm.net. [86.20.40.192]) by smtp.googlemail.com with ESMTPSA id f13-20020a5d50cd000000b002c71b4d476asm12549938wrt.106.2023.04.10.13.36.17 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Apr 2023 13:36:17 -0700 (PDT) Message-ID: <11f2deeb-669d-6508-7f5f-eace864a1786@gmail.com> Date: Mon, 10 Apr 2023 21:36:16 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 To: internals@lists.php.net References: <114465957.2449454.1681137473474@email.ionos.de> <88aa408c-6941-bedd-792d-f8265f57bd00@bastelstu.be> <603015689.2450961.1681139432060@email.ionos.de> Content-Language: en-GB In-Reply-To: <603015689.2450961.1681139432060@email.ionos.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Future stability of PHP? From: rowan.collins@gmail.com (Rowan Tommins) On 10/04/2023 16:10, Thomas Bley wrote: > So having support for multiple php versions inside one binary would be a great thing, same as modern web browsers still support html 4 even though html 5 is out for so many years. As far as I'm aware, browsers have no specific support for HTML 4. Arguably, they have no specific support for HTML 5, either. They (aim to) implement the "HTML Living Standard", which has a carefully designed parsing algorithm and three modes ("no-quirks", "quirks", and "limited-quirks"), which standardise and emulate certain behaviours of older browsers, not necessarily older specifications. Certainly, web technologies like HTML + DOM, JS / ECMAScript, and CSS, are good examples of carefully maintaining compatibility where possible, and including features specifically to keep old websites working. But that doesn't mean no feature is ever removed, and no default behaviour ever changes. Nor will there be an ever-growing list of switches to go back to what things looked like 10, 20, 30 years ago. That's because maintaining extra behaviour is difficult - adding the feature switch might be just a few lines of code, but it will *multiply* a section of tests; and it will need to be re-implemented to pass those tests every time the surrounding code is refactored, and accounted for every time a related feature is added. That might be worthwhile for one or two switches - HTML's "quirks" & "limited-quirks", JS's "use strict" - but it doesn't scale, so it's never going to replace the genuinely hard question of how to improve a language for new code, while limiting pain for existing code. Regards, -- Rowan Tommins [IMSoP]