Re: short_open_tag
| From: | Pierre Joye | Date: | Sat, 22 Mar 2008 00:29:33 +0000 |
| Subject: | Re: short_open_tag | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-36310@lists.php.net to get a copy of this message | ||
Hi Rasmus,
On Sat, Mar 22, 2008 at 1:20 AM, Rasmus Lerdorf <rasmus@lerdorf.com> wrote:
> Will actually do about the same thing in the sense that the top-level
> script can run with short_open_tag turned off and the main.php script
> can run with short_open_tag enabled. The first version requires that
> you configure your Apache to enable short_open_tag for the templates/
> directory, while the second lets you do it from the PHP level. The
> first suffers from being extremely slow and it isn't obvious that
> scripts in templates/ operate under different rules. The second is much
> faster and it is more obvious what is happening.
as a conclusion from my point of view, I don't think it's possible to
bring anything new to this dicsussion:
-1 for the patch (revert)
+1 to actually deprecate short tags
+1 to remove them in HEAD
That's not asked but let clear this problem once and for all.
Cheers,
--
Pierre
http://blog.thepimp.net | http://www.libgd.org