Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:105537 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 4869 invoked from network); 1 May 2019 03:17:24 -0000 Received: from unknown (HELO mail-oi1-f172.google.com) (209.85.167.172) by pb1.pair.com with SMTP; 1 May 2019 03:17:24 -0000 Received: by mail-oi1-f172.google.com with SMTP id t184so10286177oie.11 for ; Tue, 30 Apr 2019 17:19:40 -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=bEpnILrb1647hrO+gjXIfxYZyAeqiSrDcYndbU2BNdA=; b=SqDizBkrFaVY1YJjq5Goajvf+mTV/6/5QRMtuMgB95wML2diG2qEcuqaFAqYAVz0du OX3il5/uwSg07wBlnnoNBT/0+G+B0cRKeyyp81UuiaxouEWa0RtprauvuJutuYuZLf7H peg8S2zFQWcsmBoP0xWeQoGli3qx+t+S8PCrkGcfu+SmyC/tG/gMUsfJ2LfQ5e9LC10q AqsQ00vnH/9w8HVHJbmV5pWc6GWlTwcJYJTOTesHfd0dyxjYLAyDqOly7SaWAK4CQqkJ 47P+nRL2jUW8cZDlPih1fAx8tVqKIlha6kRO5CqticpUuCrLdIyBEtJG5xgGFEtTeZUj m/BA== 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=bEpnILrb1647hrO+gjXIfxYZyAeqiSrDcYndbU2BNdA=; b=NpA7z/c6ny4B3QdiDQMrQHR+Xzr92WZe+0KrhlTMS8UY65gkJryTylUcAGIUUPqpw/ cmfLyrxK3VML0WANMt6rfjK3M82Hp7YvaGAV/DNpLUsqWGlWIQWMTAvYNixCxORXBQcs BVt6I3ZZs7OrRBTQKeR0m9fxxUkxV5KMusUx/FO6is3eySVI75QEBeKHH1I4C+POdVCO 7+qKfzrQog+HVd7SH1Llfhe7px5nGMcXuEfxs+Hl58Dmll7kfIHBJtukrbz7IvlibBHW cZV2wTfFDIyhHMBXyDZGVbkhv0yQWGDldGddW20VXKROqEj3FwRtVoQskcGble13EZnH jw2g== X-Gm-Message-State: APjAAAWY6+t1mRVenZU+LwZ0Pn1aNNrGg6VJHuJbwG0ohR6GdklDkDuz ds7OTLPYKrggg3vJBKomzL5/ogUs2R4+h/LcH9s= X-Google-Smtp-Source: APXvYqytM0doUvvAfT+WlY/dqGkZkgMsutL8QHXSDrhCt/Mq5MK1TQ8y/1AJacXdMprnQxN13wxg7ISJp0brZefgNRw= X-Received: by 2002:aca:5313:: with SMTP id h19mr4920766oib.172.1556669979740; Tue, 30 Apr 2019 17:19:39 -0700 (PDT) MIME-Version: 1.0 References: <49A4B76C-4C62-4CBE-BA20-FBE56CA29AB0@cschneid.com> <609E93CF-099B-446C-AD28-04F1D802C9F0@cschneid.com> <000401d4fac8$ae592cf0$0b0b86d0$@roze.lv> <961cee8e-8185-b7b2-2b51-838946d2c7d2@gmail.com> In-Reply-To: <961cee8e-8185-b7b2-2b51-838946d2c7d2@gmail.com> Date: Wed, 1 May 2019 02:19:27 +0200 Message-ID: To: Stanislav Malyshev Cc: Zeev Suraski , Derick Rethans , "G. P. B." , PHP Internals List Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] [RFC] [VOTE] Deprecate PHP's short open tags From: peterkokot@gmail.com (Peter Kokot) On Wed, 1 May 2019 at 00:56, Stanislav Malyshev wrote: > > Hi! > > > Worth noting another inconsistency here that we've missed. PHP 7.4 has > > introduced many BC breaks actually already. Without this level of > > problems: > > Exactly, without. There's a difference between removing an unmaintained > extension which is barely used and setting people up for displaying > their sources if they use slightly outdated libraries. And there's a > difference between explicitly making a decision and not even bothering > to discuss this mammoth of a BC break until the vote is finished. So to > me it's more like "elephant in the room" scenario - we've got a process > failure here. We are on the course to correct it, but it's a failure > nevertheless. It is a BC break nevertheless no matter how much time it takes to change the code. The level of the impact cannot be measured like this. Every app will have different things to fix. So saying that this particular change will break the internet is not realistic without any numbers. If PHP is on a course to fix the BC break strategy then good (for example, BC breaks allowed in major releases, minor releases including only new features etc). Upgrading PHP version would be then a breeze probably but very complex to maintain the code in the repo (at least according to the release cycles of 5+ years to get to a major version). However, I'm not sure I'm seeing such direction or anyone expressing it to do this at least according to many here and even this discussion. Because, from what I think here more is that we're discussing how to keep the short tags forever and how to remove them as soon as possible. There is a difference in what people want here. And majority of those not in favour of the removal in PHP 8, want them to have forever and basically want to change the issue of removing the tags in the first place. I haven't seen any step forward from this point yet and what kind of a different removal strategy (compared to Nikita's suggestion) would work. > > The deprecation in PHP 7.4 (or even if there wouldn't be any > > deprecation here at all) and removal of some short tags in PHP 8 is > > the least of users problems I think. > > You mean wddx removal is much bigger problem for users than the > potential for their code to be sent out instead of executed? If so, we > must be living in very different words, because for me the former is a > blip on the margin of the radar and the latter is a "world on fire, do > not upgrade under any circumstances" scenario. I could easily ignore the > former and I wouldn't dare to upgrade any production for the latter > without long process of verification that would 100% ensure there's no > bad tags hiding in any code, any dependency, any library, etc. Maybe > it's what the RFC authors want, but it's certainly a giant difference in > BC impact. I haven't seen code with short tags for such a long time now that this is for me a problem on a scale of a fly. Because we've simply upgraded all very very long time ago or in other words even never thought of writing something in these tags anymore. Well, obviously this might be for someone else a problem on a scale of an elephant, that I don't know and probably won't understand fully. But, also at least now this discussion and also RFC brought this thing out - short open tags shouldn't be used anymore in any case. :) Because obviously a very large number of people would like to have more clear definition of what is opening PHP tag. -- Peter Kokot