Re: Deprecate short_open_tag ini directive?
| From: | Rowan Collins | Date: | Tue, 12 Mar 2019 10:39:31 +0000 |
| Subject: | Re: Deprecate short_open_tag ini directive? | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-104667@lists.php.net to get a copy of this message | ||
On Tue, 12 Mar 2019 at 10:12, Peter Kokot <peterkokot@gmail.com> wrote:
>
> PHP based template engines today most likely use only <?php and <?=
> because of this topic today exactly. Possibility of being deprecated
> :) I think the short opening tags are good to go so things are more
> simple.
>
A quick search of the list archives showed the opposite: reassurances that
short open tags are *not* deprecated, and vocal support for keeping them.
> A side question is there any plan to move the idea of removing opening
> <?php tag for PHP only files or is this off topic here? PHP has long
> moved out of the template engines world and left that task to more
> dedicated so called compiled or parsed template engines (such as Twig
> or Blade), so maybe something to think about as well.
>
I think that's a different discussion - and also one that's happened a few
times in the past. I think the general conclusion was that the gain isn't
big enough to bother changing every tool that works with PHP.
Regards,
--
Rowan Collins
[IMSoP]