On Wed, Mar 26, 2008 at 9:39 PM, Hannes Magnusson
<[EMAIL PROTECTED]> wrote:
> On Wed, Mar 26, 2008 at 9:25 PM, Stanislav Malyshev <[EMAIL PROTECTED]> 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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php