Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36560 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46089 invoked from network); 26 Mar 2008 19:55:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Mar 2008 19:55:58 -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:14934] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B0/49-47041-B4AAAE74 for ; Wed, 26 Mar 2008 14:55:58 -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 21:56:22 +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 12:56:19 -0700 Message-ID: <47EAAA45.4000103@zend.com> Date: Wed, 26 Mar 2008 12:55:49 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Derick Rethans CC: Marcus Boerger , Hannes Magnusson , 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> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 26 Mar 2008 19:56:19.0566 (UTC) FILETIME=[758810E0:01C88F7B] Subject: Re: [PHP-DEV] short_open_tag From: stas@zend.com (Stanislav Malyshev) Hi! > I don't think I've ever said I don't like short tags. It's not the issue > here. The issue is that allowing to change it during runtime adds more > WTF to PHP. WTF factors are bad. OK, there were people saying short tags are mortal sin, devil's device to lure pure souls into the hell and what not. Good that you don't :) Speaking of the WTF, I don't really see any major WTF since: 1. 99.9% of the code (except for parser XML templates) works with any tags settings. One that wouldn't work will bail out immediately with clearly recognized error message, so the problem would be easy to locate and fix. 2. For any code messing with this value - and this code should be only one place in whole application, the template engine - it is very easy to restore it afterwards, and any programmer smart enough to write in PHP would know to do that. 3. There are a bunch of runtime settings that some code can influence other code with - most prominent being include path - and we had very little problem with them being INI_ALL. 4. This change actually does not remove any existing scenarios and adds one previously impossible - having short tag templates in the context where enabling short tags for whole application is not desired. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com