Re: [RFC] [VOTE] Deprecate PHP's short open tags
| From: | Robert Korulczyk | Date: | Thu, 11 Apr 2019 08:12:09 +0000 |
| Subject: | Re: [RFC] [VOTE] Deprecate PHP's short open tags | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-105232@lists.php.net to get a copy of this message | ||
> Sorry for the sarcasm, please don't consider this as a personal attack. The
> whole community (not just you) considers short open tags poison because not
> XML-compatible...
This is rather removing another trap from the language. As long as short open tags exist and depend
on INI directive, there will be bugs and source
code leaks after moving application to a different environment. Using <?php over <? is the
only safe way to write PHP code, and now you need an
external tool to enforce this.
Regards,
Robert Korulczyk
W dniu 10.04.2019 o 23:49, Wes pisze:
> Finally!!! everybody will be able to parse my xml files with embedded
> php!!!!1!1 if I ever wrote one!!!
>
> Sorry for the sarcasm, please don't consider this as a personal attack. The
> whole community (not just you) considers short open tags poison because not
> XML-compatible... while they use stuff like twig, which is also not
> XML-compatible.
>
> This is just beyond my understanding.
>
> But sure, let's keep vilifying this kind stuff and pretend they are the
> root cause of PHP's bad rep.
>
> Sorry again for the negativity.
>