Re: Deprecate short_open_tag ini directive?

From: Date: Tue, 12 Mar 2019 11:15:21 +0000
Subject: Re: Deprecate short_open_tag ini directive?
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-104668@lists.php.net to get a copy of this message
Hi, I guess that short_open_tag ini settings can be deprecated/removed. But that would mean that short open tags will be always available, not that it will be removed. Regards, Alex On Tue, Mar 12, 2019 at 12:39 PM Rowan Collins <rowan.collins@gmail.com> wrote: > 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] >

« previous php.internals (#104668) next »