Re: [RFC] [DISCUSSION] Deprecate PHP's short open tags V2
| From: | Christoph M. Becker | Date: | Wed, 24 Jul 2019 14:15:08 +0000 |
| Subject: | Re: [RFC] [DISCUSSION] Deprecate PHP's short open tags V2 | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-106284@lists.php.net to get a copy of this message | ||
On 24.07.2019 at 15:27, G. P. B. wrote:
> On Wed, 24 Jul 2019 at 05:51, <vsuraski@gmail.com> wrote:
>
>> - [Short tags] You need to purposely turn it on in your own deployment -
>> people and companies who use it use it exclusively for internal purposes.
>
> This is just plain wrong since PHP 5.4 as it is enabled by default and you
> need to actively turn it OFF as which can be seen on
> https://3v4l.org [1]
> as it doesn't use any INI configuration files. Now as stated in the RFC:
>
>> Currently the <? short open tag is controlled by the short_open_tag
>
> ini setting. This ini setting is *enabled* by default (if no ini files is
>> used),
>
> but *disabled* in both php.ini-development and php.ini-production.
>
>
> which is probably why most of us - and most users - think that it needs to
> be implicitly enabled.
Maybe the configuration option --(en|dis)able-short-tags adds to this
confusion.
Thanks,
Christoph