Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106281 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 18852 invoked from network); 24 Jul 2019 14:57:46 -0000 Received: from unknown (HELO mail-lj1-f172.google.com) (209.85.208.172) by pb1.pair.com with SMTP; 24 Jul 2019 14:57:46 -0000 Received: by mail-lj1-f172.google.com with SMTP id d24so44280078ljg.8 for ; Wed, 24 Jul 2019 05:21:10 -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=4HgnZiuD6L1rfgDz85Xjnaan4dWUTEWOea8Kv+/ieMc=; b=Tk6JcDQFDYtu51W7mPryK6qSqcDxVcXKLYUjayQyxDrnstZ+4oFW3WjE2XyH06/iS4 +aXdI3SCG6ilol9VIGTs4Zs5BaRqDv/6mfm/F1xZoJe8q9uL+S7nnCL52Y94OUlXXFKw W+u2w0kzLrBSRhBaN5xX/maLh1CHRRVGIVBVbcZWkg7CQ33PuQ1pm2ofOTjnk2t09Dk8 8fhajyOe0a7k1ML2T0Ofq99XCdef7dWASAH/MAaU8G7d1rPIaH6xFDoNW+ubsBFRC+MB qozDj+MpjRb1Y13r+cKhkXEDdeoC8IOuYxmaI62hRH+KwUB2h4CyCNqTYnv876MHxy90 0VOw== 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=4HgnZiuD6L1rfgDz85Xjnaan4dWUTEWOea8Kv+/ieMc=; b=HR+BUSPCEzuBB+v1s65VwHY7ei6oILafFydQu+2bAs9Rn1NaAsfx7EEFhf+rXOsyDV 3WtkJfzc3rU2AOCG+f9gmJGcZ0CPlCcNV2EKGe2wbAbRrzMSC1N2TvZJx8dcfuvj/4IH T9d9oiuWFc2BrRlhRx5eBxDs+tF7UroreY+RQY6tUg/9XDrp+SyHCHFM8y834adBcOn0 MFWuA+JwzgCstiGoFSR09ZrBou6YNDKrdU9YlfFMRWeX1bLLbB32I3Z9n5jUWyJajEyw UaVgTnAw2FeqVyhWSXRLokb+i1EJFLSL+DW434X7a9c4QQePkesDXoy0EtWAg1p0UJCY bQuQ== X-Gm-Message-State: APjAAAXqWPGSzh01ni7N1PhbaZ47WEjamJfce5BVzGwc4ay2qp3A4Xmc IVXaSh8w5nzwrxIL/SeAnm/lJaov3tTLYZDvHjs= X-Google-Smtp-Source: APXvYqyUMBg7g0jF8kc83qqoV3vkxtBnIJ9a5tzJMJitvviHcpE3zBcf1knfwUdM+vvJrbuHYDv/OZhLzESFFS8KASc= X-Received: by 2002:a2e:3e01:: with SMTP id l1mr21123342lja.208.1563970869414; Wed, 24 Jul 2019 05:21:09 -0700 (PDT) MIME-Version: 1.0 References: <5C8F3403-2972-467A-AFA5-347C09E5FA73@gmail.com> In-Reply-To: Date: Wed, 24 Jul 2019 14:20:53 +0200 Message-ID: To: Peter Cowburn Cc: Rowan Collins , PHP internals Content-Type: multipart/alternative; boundary="0000000000001c521e058e6c588b" Subject: Re: [PHP-DEV] [RFC] [DISCUSSION] Deprecate PHP's short open tags V2 From: nikita.ppv@gmail.com (Nikita Popov) --0000000000001c521e058e6c588b Content-Type: text/plain; charset="UTF-8" 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. Nikita --0000000000001c521e058e6c588b--