Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36570 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62651 invoked from network); 26 Mar 2008 20:25:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Mar 2008 20:25:30 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:18812] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 46/0D-47041-731BAE74 for ; Wed, 26 Mar 2008 15:25:30 -0500 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 26 Mar 2008 22:25:53 +0200 Received: from [192.168.16.84] ([192.168.16.84]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 26 Mar 2008 13:25:50 -0700 Message-ID: <47EAB12F.3020404@zend.com> Date: Wed, 26 Mar 2008 13:25:19 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Hannes Magnusson CC: Derick Rethans , Marcus Boerger , PHP Internals References: <47E3F714.60302@zend.com> <883216194.20080321193140@marcus-boerger.de> <47E40848.1060103@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> In-Reply-To: <7f3ed2c30803261321n7cc60bf2l48c4c5418af2cf73@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 26 Mar 2008 20:25:50.0335 (UTC) FILETIME=[94FDF8F0:01C88F7F] Subject: Re: [PHP-DEV] short_open_tag From: stas@zend.com (Stanislav Malyshev) > You do know that having short tags enabled will result in a parse > error in the following situation, right?: Yes, I do know. In fact, I mentioned this knowledge in virtually every email on the subject. Your point being? > idea ever - but I still think it'll just create more wtf then > necessary. 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. 2. This situation is very rare use case for PHP anyway, since most templates in PHP aren't XML. 3. This situation is very easy to prevent and very easy to recognize if not prevented. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com