Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106669 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 97153 invoked from network); 20 Aug 2019 19:26:21 -0000 Received: from unknown (HELO mail-ot1-f66.google.com) (209.85.210.66) by pb1.pair.com with SMTP; 20 Aug 2019 19:26:21 -0000 Received: by mail-ot1-f66.google.com with SMTP id m24so5661732otp.12 for ; Tue, 20 Aug 2019 09:56:33 -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=ucSOLNxRiCd9o9mC1cBth1zZQR+CQtXFKNXsVnwklfs=; b=iyIE4ffYnSk9rZ17288a0ADSP67ngrUjkY3V5w1WlcueKu7UFsoSZFhOewtBzEP+wV 7e+cuZOhMm1uLS0AjOUf0OIQt0vVEKtxIxl7g0s/SLlX+QaOo59zLls5mI4dkQU9j6mx JCDIU8gOItHRmKDqAmO6bWaIFfSSkMicGUEsvSEQ+qKC0AmxSgTK3bSTRXBOQ7SahBHl KanjWc1fW57c6CJ08VOphqr9WjSq4wKgznASPA3ZEDZ700SJJvgVz1+UDARpUILjhAw/ oTkMo7/kzU6blYoYlfnD5mQ8Vn9KcfBCgLiApzczFU6lqiQ0GxGrjwKvCKRaGNbIrFyQ pyHg== 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=ucSOLNxRiCd9o9mC1cBth1zZQR+CQtXFKNXsVnwklfs=; b=jLFwyXS7Z8zxFPJWIsfvCvGY8OVRjb7tKN6rhBDs5/A5+46zZgTYEEVRt4m1YKlxXg V086FB91KLmeZBVcVkgc44cq6fbEWkG6/0+hVTcPAaCsjjeTnmMnPabXDu8IVC6b0a8g R3eiZrDvT+S2Y3v4jmhQLQxHR7L2xMN1PuFBCOwJ88uexn7/XOxITSMdfw0mtUob02JD wOu1/phm6eIsrrk3/WE9CKuALfXBE3/wEciatIzbh8Gux1mWzESInxPOcbDtf2/3qHCP GpC1c1z36FTJMoLA2gH671/fJBlBzmGGxa0Ko+nQnbEE7QxGyEGDr1xFlS3JKbnl0VnB K33A== X-Gm-Message-State: APjAAAUPDbxtjcFUSpj0+5la+vD2ViK+Un+EkYxr9vXgsEN+fP6Kga7o IoBQmfBw7hbL96ALz6Ap+Knog2r+oJgQOiDptDF2rQ== X-Google-Smtp-Source: APXvYqx+O8Ges6o07CWTyownW6I805lkG7I7o2oWU0RadlBM8Rfop7lxMXb9Oixp468NUY1NBIsgplHEaRtcwTVSlsg= X-Received: by 2002:a9d:829:: with SMTP id 38mr21989394oty.372.1566320192917; Tue, 20 Aug 2019 09:56:32 -0700 (PDT) MIME-Version: 1.0 References: <000001d54e5a$02ac09f0$08041dd0$@roze.lv> <2b5588d6-d667-321f-22f1-46a22bb797c5@korulczyk.pl> <000001d54ea3$eb3480a0$c19d81e0$@roze.lv> <000301d54ead$b43e7b00$1cbb7100$@roze.lv> <59378662-77ca-0779-10cb-c25acf1b45ef@korulczyk.pl> <0c52dfe9-0192-c643-12b8-8038ccf98910@gmail.com> In-Reply-To: <0c52dfe9-0192-c643-12b8-8038ccf98910@gmail.com> Date: Tue, 20 Aug 2019 18:56:20 +0200 Message-ID: To: Rowan Tommins Cc: Internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] [RFC] [VOTE] Deprecate PHP's short open tags, again From: peterkokot@gmail.com (Peter Kokot) On Tue, 20 Aug 2019 at 18:39, Rowan Tommins wrote: > > On 20/08/2019 17:18, Peter Kokot wrote: > > About the docs - there are > > very minor changes needed where "backwards compatibility" is mentioned > > maybe. Because they are not in PHP for keeping BC anymore now. Nobody > > proposed a better solution than this RFC, then they are a feature. > > > Being "for Backwards Compatibility" and being "there forever" are not > mutually exclusive. There are a huge number of things in this world > which exist only to be compatible with an older technology or use case, > but which will never be phased out, because the effort to change them > exceeds the benefit. > > On the other hand, I think it might be useful to have a status of > "officially discouraged" distinct from "deprecated". I occasionally hear > people ask to "deprecate" something without any particular timeline or > criteria for when it would be removed; my suspicion is that what they > really want is a clearer message to users that they shouldn't use the > feature. > > Regards, Probably. But fact is that PHP opening short tags can be used. We can enable them in controlled environments and use the short tags knowing they will never be removed now. No deprecation warning is standing in our way to do that now. And such code (or better put app) is honestly now also not so bad. Because it will still work in at least let's say, PHP 9 at least or considering the feedback and discussions for ever... Also users who are already using short tags can now postpone the upgrades for another ~5+ years at least :) -- Peter Kokot