Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106026 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 79311 invoked from network); 22 Jun 2019 13:45:50 -0000 Received: from unknown (HELO tbjjbihbhebb.turbo-smtp.net) (199.187.174.11) by pb1.pair.com with SMTP; 22 Jun 2019 13:45:50 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=php.net; s=turbo-smtp; x=1561806073; h=DomainKey-Signature:Received: Received:MIME-Version:References:In-Reply-To:From:Date: Message-ID:Subject:To:Cc:Content-Type; bh=S6H6pQblcIsXbuZN5qez7e JH5KWQJLrzp2SIIkIRfEo=; b=l6d4lRTHYIZ/YHuljTUAF1WaFWtwxpjLzUa21U XnhoTnWjl8J121NeMYcGI0LAtzTxl0PHL6i05iNgArun3OwJxe+xkrlaZnixgXNS XI7ACNQuIUHQ8SHTgEdsn+3MsffbvjjVNhv68jKGxvj9+0TgpXKlD1fUqWd9+hvz 2XunE= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=turbo-smtp; d=php.net; h=Received:Received:X-TurboSMTP-Tracking:X-Gm-Message-State:X-Google-Smtp-Source:X-Received:MIME-Version:References:In-Reply-To:From:Date:X-Gmail-Original-Message-Id:Message-ID:Subject:To:Cc:Content-Type; b=HuqXmCu5YIVJtYZ/LoqSm+PhbEFnmHNRuiXfLMV+taINp1svdXTwBgpk8CCet/ oAtslecI0QMvi45GwYkdUP/BnjgARQhAHLzf5IbW8QcHmT89fh7XnrE8My/c9lJC RE5mhiokvEqrPn3FJ4Aqus13YfwaqTbaHi1+OklhGipIw=; Received: (qmail 35521 invoked from network); 22 Jun 2019 11:01:12 -0000 Received: X-TurboSMTP-Tracking: 5114940882 X-Gm-Message-State: APjAAAWxGhssIKUsDKNJ1h0XVgUaynf4c+izeKpFrtTfZjzAF/dXwbZY Os9mE6iKU2jl7CKAVKOl4fas8Rw8Wo4x2s3QRko= X-Google-Smtp-Source: APXvYqyPRGSDNUTWCEqSxsAIusPjuFb8vFdppyolHAbX7K1nGypUTHJO0UFrzI/Yo6OKqBduSbIEtIkg/ISxa9ONBzQ= X-Received: by 2002:ae9:c208:: with SMTP id j8mr12988528qkg.264.1561201272289; Sat, 22 Jun 2019 04:01:12 -0700 (PDT) MIME-Version: 1.0 nsFUhMKf1YYuT1eCF65yfX+FjNAcr_MyAiPM-fiPawTKDLQ@mail.gmail.com> In-Reply-To: Date: Sat, 22 Jun 2019 14:01:01 +0300 X-Gmail-Original-Message-Id: Message-ID: To: Nikita Popov Cc: Peter Kokot , "G. P. B." , Stanislav Malyshev , Derick Rethans , PHP Internals List Content-Type: multipart/alternative; boundary="00000000000041ff5b058be77f26" Subject: Re: [PHP-DEV] [RFC] [VOTE] Deprecate PHP's short open tags From: zeev@php.net (Zeev Suraski) --00000000000041ff5b058be77f26 Content-Type: text/plain; charset="UTF-8" On Mon, Jun 17, 2019 at 1:55 PM Nikita Popov wrote: > On Fri, May 24, 2019 at 6:53 PM Peter Kokot wrote: > > > Hello, > > > > On Sat, 11 May 2019 at 20:56, Peter Kokot wrote: > > > > > > Not trying to rush anyone to something they have no energy working on > > > anymore here but what's the plan here then? And what plan is there > > > with these short tags on the long run? > > > > I'm just checking then why is this RFC in the pending implementation > > state if basically we're on a way to have the short opening tags in > > PHP for ever... Maybe we should then enable them by default to have > > the other way around situation of having both tags for few 10 years > > and then ditch the long one if it's not going to be deprecated in PHP > > 7.4 and decided what to do with them? > > > > https://wiki.php.net/rfc/deprecate_php_short_tags > > > > Girgias has put up a new implementation at > https://github.com/php/php-src/pull/4263. > > If short_open_tag=On and thrown. short_open_tag=On remains the default, so there will be no > accidental code leakage due to changed defaults. If short_open_tag=Off, > then > I believe that addresses the implementation concerns and we can go ahead > with landing this RFC. > Nikita, I wrote a fairly detailed response to why I believe we should re-do the RFC and vote, given multiple issues with the original one. While there was a response to it, I very much stand by what I said in it - namely, that the discussion was toe-deep in a way that is unbecoming for such a basic building block (as unpopular as it may be), that some of the motivations mentioned in the RFC were simply wrong (e.g. 'simplification of the parser') and that the voting options were confusing - which may have impacted the vote in certain ways. I see no way forward other than redoing it. This feature has been with us for over 20 years, we can spend a couple of more weeks deprecating it properly if we really need to (and perhaps consider the 'legacy' extension option - providing a win-win of sorts, where we can both move forward with 'cleanups' - but also provide a painless path forward for the ones affected). Zeev --00000000000041ff5b058be77f26--