Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:116137 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 68457 invoked from network); 22 Sep 2021 15:56:37 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 22 Sep 2021 15:56:37 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 38C1918053A for ; Wed, 22 Sep 2021 09:37: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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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-qk1-f181.google.com (mail-qk1-f181.google.com [209.85.222.181]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 22 Sep 2021 09:37:51 -0700 (PDT) Received: by mail-qk1-f181.google.com with SMTP id t4so11547529qkb.9 for ; Wed, 22 Sep 2021 09:37:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=datadoghq.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=g8A+Ik+7S3504hb8zj8hm75UL9sN9zNCOteVvpfmqfA=; b=JtDeCpH+tt3aMNaVmHFlWhpCdQEN/1SDv/J6zJiloDkBwdG2GBwgiHp7Z3vKKCj+Kn kd4yPiqTZSlewpJ6jK6/ziwxoJ5Jias1sFCsKclAqyeDF43iR2ynW5q/vIDDkXv+4ITu d9jMz5oPFPXUFaXnJyDFsgW3lo+cN5uGFFWuk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=g8A+Ik+7S3504hb8zj8hm75UL9sN9zNCOteVvpfmqfA=; b=gMK0M2Rl4NbZSc7kQtmzSK7bnoOv2c9jnZ1YIc8l/YvGJN+HBhO09t7N2cRUAZMLXV oHCpIkvl6Il0XpCrEcdJTjattc3gw2RlA+QdjcBX8wj97Q3c9Y/kOoKpM2jVAMMcJGgs 3pz+asK14x9qvvwktcqrfyiIwK0483s87qmv416SQ5fRBThtpm4WjxYKAckh8lShxrZL StWTviwX2AYcytbcsGziNdLW3nDraW7y6Nf0KCsvWzQsB2kYS8YhrslvjGdEof1u1E+W SKUyaMCbTDF62GYutKVSfvdrhC54FliLtPLgaVRhA5UxwzIiqjOKD0yZo3n/JY6aqyFg LWmQ== X-Gm-Message-State: AOAM5311yf4Jn1dbKjpSbrqA0FkZu47KPYNxSVMeXVgLqU7mNERK7ZjB xTimSQrSjs7X7cCmjFn3X/sYUpTiIqK8H6XMpVTUaA== X-Google-Smtp-Source: ABdhPJz6MQaglAP7P0BN40VD8o+3zXF4qnhowPBzVzBdGFcceJwT8Qcarmh6Rv4eIF7sZpj2PQSOddTwZVHX+zrNfWE= X-Received: by 2002:a05:6902:1545:: with SMTP id r5mr21174ybu.255.1632328671149; Wed, 22 Sep 2021 09:37:51 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Reply-To: Levi Morrison Date: Wed, 22 Sep 2021 10:37:40 -0600 Message-ID: To: "Matthew Weier O'Phinney" Cc: "G. P. B." , PHP Developers Mailing List Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] BC breaking changes in PHP 8.1 From: internals@lists.php.net ("Levi Morrison via internals") > As somebody who's been contributing to and maintaining OSS libraries > forever (since 2002), the pace of change of PHP is, frankly, ridiculous. I > can keep up with patches. I can keep up with new features. But BC breaks > EVERY YEAR just creates churn. I've spent most of the past 18 months doing > nothing but ensuring libraries work on new PHP versions. I then get users > angry that they aren't getting new features; if I don't update to the > latest PHP version, I get other users angry they can't use the library on > the newer PHP version. And with new PHP versions every year... I > essentially have to update every 2-3 years regardless, and will lose users > if I don't do it every year. I'm sorry you feel this way; this hasn't been my experience nor the experience of many people which I interact with. > Figure out what the BC breaks are going to be, and do them all at once. > It's far easier for the ecosystem to adapt to a big drop of BC breaks every > 3-5 years than it is every year. We struggle to find consensus, and now you want us to find consensus years in advance? Sorry, I don't think it's practical. We can do better, though. I think we could commit to having no BC breaks in the last minor of a major series e.g. no BC breaks in PHP 7.4. This requires us to agree 2 years in advance when we'll release the next major. We could perhaps choose this for a fixed schedule, e.g. we release a new major every X=5 years. Anyway, I agree with an earlier statement that reverting resource to object conversions at this stage is not feasible.