Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106288 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 25719 invoked from network); 25 Jul 2019 00:16:47 -0000 Received: from unknown (HELO mail-vk1-f170.google.com) (209.85.221.170) by pb1.pair.com with SMTP; 25 Jul 2019 00:16:47 -0000 Received: by mail-vk1-f170.google.com with SMTP id w186so1276300vkd.11 for ; Wed, 24 Jul 2019 14:40:16 -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=rAt/HDYBuAmLbw8Ka4J4f1vxBI/1EwwfYOjzVwBXMpA=; b=Mc0A5QkEPYvNXgpfaDGe3Rq5hQ1hmGAQIntnrwItm2J7Jk6DkufQieaAJYj+WeZtY9 Prlt3gsaf3gGW7OpCVZYocVenSMLmTYx2/AnmCAzsDKxYvEE4u6WuiLaHF106MX1wfBX tgxpoyITL8Jp7V50dkNHOahNc899oZeVhNO3L8cx+s51+sXAEOSQYjo0+PEMGcOOlFo+ Wbr8N0Kq6zlgoh74PXdy33TqmqTVbQKZmQSTOCJ8//6fLIY/jo9ho209TAZiL4g5raEj upkaHBp7n3tZEUSKJKFKzr3q2g/sEcu4bgxlKj3ZHxiE6e1pNQDPU+FZFC8E0PYEbiDY cLvA== 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=rAt/HDYBuAmLbw8Ka4J4f1vxBI/1EwwfYOjzVwBXMpA=; b=DELhym9+zLb2ai3ExXotidPNK8ojSLWOhSMukJOuFLMlUghqK9dbK1cfhh0cDgX+Xr 1aKlO5XClNE5jp5D8slMDzdUrgI9JKiqtnCZm6EWAKSMjySeC2LPb6gVxrI0CrojHsJX o9zvAC73LscMJm61X95a9TyuPfPOlYrLSIIixeinnwAl3WWJN9XlpAV/Fu0SUVUEnLEM eQq3fOQ3NadYasmD3tmRKrEQEXLujd5wWfeO5TgfwGh5/gy3zWdw+YjLXqHFEDpKzAtm c1ZGOZIN4f3pKHoTznE0FUc8n0uyyHM7iwzQMXG61+oawnUqNXaQXVOmtdpMw2ruOirF 1CWA== X-Gm-Message-State: APjAAAWo/kK9rey2oOAV4S8EwJBbfc1sd7+dRRJT+AA2hSilfRfMYZU0 13kO/8bP6kVo4aQ7MEyD9m2CeJAa+bBG0WsGB8o= X-Google-Smtp-Source: APXvYqyMOADzCLj/aiG0iF33iIMbbgNqYJT7tUQe1zcGpLFWlS6ieY5lMdWDYJSnZEBeEvkaZvvzx39DjCjhiuyYdls= X-Received: by 2002:a1f:d1c3:: with SMTP id i186mr5686169vkg.26.1564004416123; Wed, 24 Jul 2019 14:40:16 -0700 (PDT) MIME-Version: 1.0 References: <5C8F3403-2972-467A-AFA5-347C09E5FA73@gmail.com> In-Reply-To: Date: Wed, 24 Jul 2019 22:40:26 +0100 Message-ID: To: Nikita Popov Cc: Rowan Collins , PHP internals Content-Type: multipart/alternative; boundary="000000000000a677e3058e7427f5" Subject: Re: [PHP-DEV] [RFC] [DISCUSSION] Deprecate PHP's short open tags V2 From: petercowburn@gmail.com (Peter Cowburn) --000000000000a677e3058e7427f5 Content-Type: text/plain; charset="UTF-8" On Wed, 24 Jul 2019 at 13:21, Nikita Popov wrote: > On Tue, Jul 23, 2019 at 11:40 PM Peter Cowburn > wrote: > >> >> >> On Tue, 23 Jul 2019 at 22:03, Nikita Popov wrote: >> >>> On Tue, Jul 23, 2019 at 9:10 PM Rowan Collins >>> wrote: >>> >>> > On 23 July 2019 18:54:48 BST, "G. P. B." >>> wrote: >>> > >The only point of contention of this RFC that I potentially see is the >>> > >removal in PHP 8.1 after short open tags being a Parse Error in PHP >>> 8.0 >>> > >instead of it being removed in PHP 9 after it having had a whole major >>> > >version release cycle. >>> > >>> > Given that you've already predicted that this will be controversial, >>> could >>> > you provide some rationale for it? Unless there's a major burden in >>> > maintaining the parser error behaviour for a few years, waiting for the >>> > next major version would seem both safer and more in line with official >>> > versioning policy. >>> > >>> > As with deprecation itself, any violation of the "no breaking changes" >>> > rule, however slight, should have an explicit justification. If I had a >>> > vote, any RFC omitting such a justification would receive an automatic >>> "no" >>> > from me. >>> > >>> >>> I agree. I don't think there's a pressing need to do the "full removal" >>> in >>> PHP 8.1 in particular, so it makes more sense to this in the next major >>> version (9.0), as usual. >>> >>> Nikita >>> >> >> Would you (George, Nikita) consider removing the details about the >> eventual removal of the feature from this RFC? We can run with the error >> for a bunch of releases / years, and see what happens. I don't see why we >> should necessarily decide now on something that might be 5 years or more >> away. >> > > I don't see a benefit in leaving this open-ended and prefer to have a > fixed timeline for this. The full removal in 9.0 is already very, very > conservative. Using short tags will have produced a fatal error for a whole > major version at that point. If necessary the question can be reevaluated > at that time, but the burden of proof must be on the people arguing an > additional delay, not the other way around. > Hypothetically, it can be re-evaluated sooner, particularly if "everyone" in the PHP ecosystem appears to respond very well once the deprecation and error stages happen. In fact, I wouldn't want "but we voted for 9.0" to be a point being made if/when that discussion comes along. My point is that the removal release/date, in my opinion, is a detail that we don't need to be concerned with right now and it's just adding noise. You disagree, and that's totally okay. > > Nikita > --000000000000a677e3058e7427f5--