Re: [RFC] [VOTE] Deprecate PHP's short open tags, again
| From: | Rowan Collins | Date: | Thu, 08 Aug 2019 11:30:38 +0000 |
| Subject: | Re: [RFC] [VOTE] Deprecate PHP's short open tags, again | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-106433@lists.php.net to get a copy of this message | ||
On Wed, 7 Aug 2019 at 20:45, Sergey Panteleev <sergey@s-panteleev.ru> wrote:
> Hi there!
>
> Perhaps I missed and someone already suggested,
> but didn't consider a compromise option:
> just change the default value short_open_tag=false,
> and DON'T removes the option from php.ini?
>
> If someone uses short tags - ok, they will change
> the default value to true and everything will be as before,
> who won't change it - will enjoy the full syntax
>
Defaulting it to "off" would risk leaking people's code if they didn't set
it, but I suggested earlier that it could default to a new "error" mode
(which could also be explicitly set):
https://externals.io/message/106384#106408
Regards,
--
Rowan Collins
[IMSoP]