Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36574 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69503 invoked from network); 26 Mar 2008 20:41:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Mar 2008 20:41:40 -0000 Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.46.28 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 74.125.46.28 yw-out-2324.google.com Received: from [74.125.46.28] ([74.125.46.28:25287] helo=yw-out-2324.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 39/7E-47041-EF4BAE74 for ; Wed, 26 Mar 2008 15:41:35 -0500 Received: by yw-out-2324.google.com with SMTP id 5so32274ywb.83 for ; Wed, 26 Mar 2008 13:41:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=ZtXxF9/f9N8J0/jCfAjftc+g244sethtHaPfIXpLFkQ=; b=BBBgY6fXh49kVCYbLps8Xf4zgtQCOhZXTO+ZAA7xqxGdCHq3f74mtPMri/X0EMxN9BaN78A40nxlOvjeuGXdhvJaYU3TLciMtp7zUR9yHm/744omOSivk8insd0p0UmuFQ3lGq2x3nX8RtVSGpEbOfYTsq5hZhTLWZWyEvbepUI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XwcI82esBpAkbU07d7/w07ny1VDdJC8Z5RBq+JfbSuxjAe4Rpp+ztzgO9Yh8mxZjn96J3sHaHjcINep+BiJbDwiaZpWKT+QxnA2BVl2yzfdDGL4WwgprmRrjNX9O2RT3ceMTinEVjQN49nxwUXI9a37moO4nDW+4G+wWWQgbrVI= Received: by 10.142.99.21 with SMTP id w21mr770831wfb.108.1206564091746; Wed, 26 Mar 2008 13:41:31 -0700 (PDT) Received: by 10.142.170.21 with HTTP; Wed, 26 Mar 2008 13:41:31 -0700 (PDT) Message-ID: <7f3ed2c30803261341l27aedd76p2a56051ad8fc47d8@mail.gmail.com> Date: Wed, 26 Mar 2008 21:41:31 +0100 To: "Stanislav Malyshev" Cc: "Derick Rethans" , "Marcus Boerger" , "PHP Internals" In-Reply-To: <7f3ed2c30803261339t7c536da9y36ab0d8b2dffba@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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> Subject: Re: [PHP-DEV] short_open_tag From: hannes.magnusson@gmail.com ("Hannes Magnusson") 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); -Hannes