Re: short_open_tag

From: Date: Wed, 26 Mar 2008 20:41:31 +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-36574@lists.php.net to get a copy of this message
On Wed, Mar 26, 2008 at 9:39 PM, Hannes Magnusson <hannes.magnusson@gmail.com> wrote: > On Wed, Mar 26, 2008 at 9:25 PM, Stanislav Malyshev <stas@zend.com> wrote: > > I will repeat it as many times as necessary: > > 1. This situation can happen only if you have written very buggy > > template code - there exists no such code right now and one has to be > > rather sloppy to create such code. Use quality libraries :) At least as > > template engine. > > So the template is responsible for ini_set("short_open_tags", false) ? > > If I include your high quality template library it will do ini_set(.. > true) at the top, before parsing the templates, and then > ini_set(..false) at the bottom? Ouh. No. Wait. They can't do that since I may have had short_open_tags already enabled... They'll have to $old = ini_set("short_open_tags", false); include "templates"; ini_set("short_open_tags", $old); -Hannes

« previous php.internals (#36574) next »