Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36584 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90124 invoked from network); 26 Mar 2008 21:54:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Mar 2008 21:54:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=helly@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=helly@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 85.214.94.56 as permitted sender) X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 85.214.94.56 aixcept.net Linux 2.6 Received: from [85.214.94.56] ([85.214.94.56:54163] helo=h1149922.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 34/72-47041-C16CAE74 for ; Wed, 26 Mar 2008 16:54:37 -0500 Received: from dhcp-172-28-202-230.zrh.corp.google.com (unknown [193.142.125.1]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by h1149922.serverkompetenz.net (Postfix) with ESMTP id D62B411DB7C; Wed, 26 Mar 2008 22:54:33 +0100 (CET) Date: Wed, 26 Mar 2008 22:54:33 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <299746948.20080326225433@marcus-boerger.de> To: "Hannes Magnusson" CC: "Stanislav Malyshev" , "Derick Rethans" , "PHP Internals" In-Reply-To: <7f3ed2c30803261341l27aedd76p2a56051ad8fc47d8@mail.gmail.com> References: <47E3F714.60302@zend.com> <7f3ed2c30803211412v299a0c36m86cabb27b26c232@mail.gmail.com> <47E42657.7010408@zend.com> <1222637984.20080321222647@marcus-boerger.de> <47E42AB6.7010401@zend.com> <47EAAA45.4000103@zend.com> <7f3ed2c30803261321n7cc60bf2l48c4c5418af2cf73@mail.gmail.com> <47EAB12F.3020404@zend.com> <7f3ed2c30803261339t7c536da9y36ab0d8b2dffba@mail.gmail.com> <7f3ed2c30803261341l27aedd76p2a56051ad8fc47d8@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] short_open_tag From: helly@php.net (Marcus Boerger) Hello Hannes, Wednesday, March 26, 2008, 9:41:31 PM, you wrote: > On Wed, Mar 26, 2008 at 9:39 PM, Hannes Magnusson > wrote: >> On Wed, Mar 26, 2008 at 9:25 PM, Stanislav Malyshev 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); There you go. It's not that easy. And that's the whole point here. We are making it yet again way more complex. I thought we wanted to reduce the amount of INI settings. Now we even open them? Marcus