Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:107013 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 48252 invoked from network); 12 Sep 2019 21:41:50 -0000 Received: from unknown (HELO php-smtp3.php.net) (208.43.231.12) by pb1.pair.com with SMTP; 12 Sep 2019 21:41:50 -0000 Received: from php-smtp3.php.net (localhost [127.0.0.1]) by php-smtp3.php.net (Postfix) with ESMTP id 01C752D1FA6 for ; Thu, 12 Sep 2019 12:17:48 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp3.php.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Virus: No Received: from mail-ot1-x32b.google.com (mail-ot1-x32b.google.com [IPv6:2607:f8b0:4864:20::32b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp3.php.net (Postfix) with ESMTPS for ; Thu, 12 Sep 2019 12:17:47 -0700 (PDT) Received: by mail-ot1-x32b.google.com with SMTP id c10so27150709otd.9 for ; Thu, 12 Sep 2019 12:17:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nKejIGR2GIeOwsPyOssu5WiIWK+e0O6PplD+b3+WlJE=; b=eGhsGJHrfhBHsFbsWFzgu6siIWB6iG2sbf/YHbLKwdLSTwnpnTBj2chSOKvuE+6sKN FdMxSIWnzFOnlrbGlCQWT6vyIv8nH3NWp1gbqT/qojTYyw9kJtqJzelB0b5Y2mROxj2a HB6cGvvwU3df7MlJHN6zqWT5EnxEV9osr+ha6Z0XE/xcGgxw1TdwCuAuILKXQmH4qZOE 6FHmkJZGXFVTZpjhs329SPybI4viSD9eeTln8O5dQNEs4md1kElURJIvxP205XmBFqi9 LWSDNHotD+vZili7ksPrlWmvMj2Dxac6qAtfsEO/AWpoFeFudrEBngL2oVFbQM1qYbYx OsvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nKejIGR2GIeOwsPyOssu5WiIWK+e0O6PplD+b3+WlJE=; b=KfmXcQSk8rK9frtqKLZzpQvl13dpPSnGbwsIQLRH14f7NhyHb6iA3RaQsjcAoT1gom Z4E/TIFsMBx/E42AxPTB2c27A9Pfv/Ur7e/QOt82wQ97IUkRVoGhWQxK0ZaYcierjyY+ P9JhYomdvZCHq7V3tMKuY4oDEl0fE8ZGzwJylRQlilri0wz8liV2A/XjIfbn3tTMNKCv tego/3y3Bx7kbO84eBmoi1C/Nc2ENbXPhNUE6ylcI09JCuobqPdKtYzsRlHCYO+nky2J ZiYd7BNBD/CcivoJjiroUNA0BGSFFRqXTXL7USIo7LSZcm1IGUJqw6BiqMuqiytNX9K1 UnvA== X-Gm-Message-State: APjAAAXdk8cdzW84JoHtjBJ/Vj+vCpxsJuNGLPM03hWCYV/UcSDdy2dV FX3ba/MRcPjAWnn9VDv03dojelHfajsYNP0B5fU= X-Google-Smtp-Source: APXvYqxS9lNSAs2KlTZPgJybnLG6jlCH0y7rRjsPUPGAHtqE8tfSatq5Oj8BlL2ucjtEKO/dL/5SQiXKQ+O/otpzUts= X-Received: by 2002:a05:6830:1d8b:: with SMTP id y11mr7371966oti.242.1568315866996; Thu, 12 Sep 2019 12:17:46 -0700 (PDT) MIME-Version: 1.0 References: <076701d56978$86020910$92061b30$@php.net> <467be4a0-dd8b-29d2-0b09-a3efd7fad56a@heigl.org> In-Reply-To: Date: Thu, 12 Sep 2019 20:17:29 +0100 Message-ID: To: Michael Babker Cc: Internals Content-Type: multipart/alternative; boundary="00000000000025e5fa05925ffe4f" X-Envelope-From: Subject: Re: [PHP-DEV] Changing fundamental language behaviors From: oludonsexy@gmail.com (Olumide Samson) --00000000000025e5fa05925ffe4f Content-Type: text/plain; charset="UTF-8" On Thu, Sep 12, 2019 at 8:11 PM Michael Babker wrote: > On Thu, Sep 12, 2019 at 2:06 PM Olumide Samson > wrote: > >> On Thu, Sep 12, 2019 at 8:00 PM Michael Babker >> wrote: >> >>> On Thu, Sep 12, 2019 at 1:51 PM Peter Kokot >>> wrote: >>> >>> > Just a dumb idea, since there clearly is a majority in favor of the >>> > change with these warnings and strictness and all that now... Why not >>> > making something like an LTS PHP 7.x where all the legacy code would >>> > work OK as long as practically possible and 8.x+ would be the future >>> > of what the developers want and not what business wants? One who won't >>> > upgrade due to the BC breaks also won't need the new features anyway >>> > very realistically. >>> > >>> >>> Please don't tie the notion of LTS with the idea that a new major can >>> break >>> BC at will or create larger scale breaks because the previous major has >>> extended support. Sooner or later that will end up back at the ++ idea >>> and >>> fragmentation encouraged by the language is a bad idea. >>> >> >> Not sure you are really seeing the goal... >> >> Why is LTS not a good idea? >> > > I'm not saying LTS is a bad idea. I'm saying using LTS to justify > shipping larger scale BC breaks, such as the changes suggested in the last > couple of "contentious" RFCs in a major version because "hey, we have a LTS > version you can use that until you're ready to deal with the backlog of BC > breaks created" is a bad idea. > > For the record, I happen to agree with as these RFCs would have minimal > impact on my day-to-day work, but having also been in the role of a > maintainer of open source libraries and applications I also grasp why these > types of changes can be problematic to the ecosystem (both end users of > those libraries and applications and the maintainers of them) and wouldn't > jump the gun to ship them without careful consideration. > Most of these changes wouldn't have been problematic to you if the language has prevented you from writing what we can now consider bad code, so please allow the new PHP developer that newly start using PHP to not follow that your path that will/might hunt him later in the future... There a notices, warning and errors to inform you that this shouldn't have been the use case of this feature and you chose to ignore it and now, we are simplifying things and making those your errors teach you how to write proper codes in the future, you're objecting.. Why not just stay in PHP 7.x? Or were you implying you want hitch-free, no-modification upgrade to PHP 8 from PHP 7.0? If yes, follow the best practices and not suppress error notices. Just My Opinion --00000000000025e5fa05925ffe4f--