Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104930 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 28486 invoked from network); 25 Mar 2019 17:45:42 -0000 Received: from unknown (HELO mail-qk1-f176.google.com) (209.85.222.176) by pb1.pair.com with SMTP; 25 Mar 2019 17:45:42 -0000 Received: by mail-qk1-f176.google.com with SMTP id n68so5461297qka.1 for ; Mon, 25 Mar 2019 07:38:51 -0700 (PDT) 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=mlL8if6Cg4wzXyYoCxIvkPT6q6ncoM9dnPGjWZWc6tM=; b=RHjotPdIFmXTPc40k13lhT7QmtTszi/qvlfnxbKjlGlUCuopOZqVnzJgVHi9e0odp0 D1ThD0HkcTXANcdXILI09zeN5BPIF6nTcSfZr2K4evBB/oDEiQlLXxY3I7u7CameTPSP rGnaKyrf+Tq7dNiNyEUt6AO9p3PGBuPguah1xTOtrr2CnTUDyJxKohTJ1xy6PWJUlgRM lVvBCqzn9Hg96D+exxHnTV2+DEY75e67cQ2YI4+Flaea/DagjVbAMarzOw0XhhWycHGX lXIp/YoQNt9+xri001nnvaNBcdyN+AlaVgXEHow6ZhoFggR5uzU2Qu2FyYUPFRsGlyhK Ef0g== X-Gm-Message-State: APjAAAWTD/FYucMZNukQsNVk2tylD1bBkJrPLjbw/vN6YUHucsFAi0bt 8eJX007gI53Ay6OurjUCcyhxXF1SKVUp8PwiT3CZmw== X-Google-Smtp-Source: APXvYqzPqF1T+pHHyrG8l8A32mrUh2kb4IjZjPYTVGmqzzd6Pscp2pYJPNL0vijwmLQagQep52LmgalFcyjXZNi/2TA= X-Received: by 2002:a37:b386:: with SMTP id c128mr18518393qkf.330.1553524731382; Mon, 25 Mar 2019 07:38:51 -0700 (PDT) MIME-Version: 1.0 References: <37adf4e9-58f5-bfd8-fac2-94523e192d00@gmail.com> In-Reply-To: <37adf4e9-58f5-bfd8-fac2-94523e192d00@gmail.com> Date: Mon, 25 Mar 2019 09:38:40 -0500 Message-ID: To: Stanislav Malyshev Cc: "G. P. B." , PHP internals Content-Type: multipart/alternative; boundary="000000000000c3a22e0584ec29b2" Subject: Re: [PHP-DEV] Deprecate short_open_tag ini directive? From: pollita@php.net (Sara Golemon) --000000000000c3a22e0584ec29b2 Content-Type: text/plain; charset="UTF-8" On Tue, Mar 12, 2019 at 11:57 AM Stanislav Malyshev wrote: > > I'm currently going through the PHP doc to remove mentions of PHP 4 > > and stumbled upon the short_open_tag ini directive [1] which only affects > > the availability of ` > From my understanding, the ` > so maybe we should deprecate PHP's short tag altogether? > > Why? What would it improve for people that are using it? For people that > aren't, it obviously won't change anything. So what would be the > motivation for this change? > I'm with Stas (and some others in disconnected sub-threads because email is hard). This RFC needs a better "why this is important" section. Yeah, I get that it being an option makes writing portable code harder, I get that the XML open tag is something that can be tripped on, but why is removing it a sufficiently better solution to the "problem"? As we stand now, code using short open tags works when those tags are enabled. As we'd stand in the future, that code would not work. That level of BC break requires a strong justification. -Sara --000000000000c3a22e0584ec29b2--