Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36320 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1643 invoked from network); 22 Mar 2008 12:27:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Mar 2008 12:27:46 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.198.191 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.198.191 rv-out-0910.google.com Received: from [209.85.198.191] ([209.85.198.191:36711] helo=rv-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8C/51-28271-14BF4E74 for ; Sat, 22 Mar 2008 07:27:46 -0500 Received: by rv-out-0910.google.com with SMTP id k15so1104175rvb.23 for ; Sat, 22 Mar 2008 05:27:40 -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=1n6QpgGtV6lZsf5a9YYjOyFiQpWA5Dd+boQr96eNL4g=; b=cLA2oTmTjGqKtmDHbROPXnexDZLTHkqN4CJGljQwlmlfATSjbKFLby71J/C6xJhoTU6fy2LQyk720ofu/P9VNxIGF4hhvcekybzPRqSqfVOp1/r8xjK/OfvQfVdBxEJuqUX/xbkbDUAoZvFG6eXasm/6nJaageJQDycnhppcf0A= 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=qsIPbuxaH/bo7+SMjnM9g6DvZh6rTZDyD+0KwjUcPdkOFQ+2OvtcBS82kPVLK5rs6CVaXdMDtiE3EbWMvFFJKVHEqm9K+PbPpIDVyIaWKN+FOSj8F2fe9hyJpUSkrFHYjnNiUG4pRmwvcTku7cStw3htv1BwbaxlKl3aN5UWzi4= Received: by 10.141.115.6 with SMTP id s6mr1711598rvm.47.1206188860772; Sat, 22 Mar 2008 05:27:40 -0700 (PDT) Received: by 10.141.123.13 with HTTP; Sat, 22 Mar 2008 05:27:40 -0700 (PDT) Message-ID: Date: Sat, 22 Mar 2008 13:27:40 +0100 To: "Lars Strojny" Cc: "Ralph Schindler" , "Stanislav Malyshev" , "Hannes Magnusson" , "Marcus Boerger" , "PHP Internals" In-Reply-To: <1206187799.10080.26.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47E3F714.60302@zend.com> <47E40848.1060103@zend.com> <7f3ed2c30803211412v299a0c36m86cabb27b26c232@mail.gmail.com> <47E42657.7010408@zend.com> <7f3ed2c30803211420s6cdd06bcy331880346fa68cb@mail.gmail.com> <47E4281C.80706@zend.com> <47E44A1A.2020703@smashlabs.com> <1206187799.10080.26.camel@localhost> Subject: Re: [PHP-DEV] short_open_tag From: pierre.php@gmail.com ("Pierre Joye") Hi Lars, On Sat, Mar 22, 2008 at 1:09 PM, Lars Strojny wrote: > Providing the infrastructure to enable/disable short tags per runtime > allows people to better define their API, in this case the API for > templating as they can define "the only point where one may use short > tags, are the templates". Currently, if people want short tags, and they > want to use it (see Solar_View or Zend_View from the Solar resp. Zend > Framework), the only way to use short tags is to globally enable them. > So please, just leave the patch in, and do not use short tags, if you > dislike them. It seems to be very hard to understand that it is not so simple. If this feature is added, every library/module write will have to take care of the short tags if they like to work smoothly in any unknown configuration at runtime. The check is now done (in many cases) during the installation phase and the install script asks the user to disable the short tags to install and run the application or library. If Zend_View or Solar_View use short tags (even worst if they require them), they must be the exceptions in any recent/decent frameworks. The problem with this feature is that the setting can be changed at runtime, anytime. It is yet another pain a la magic quotes GPC and other things like register globals. You said: "the only way to use short tags is to globally enable them." That's not the case anymore with this patch and that's why we don't like it... -- Pierre http://blog.thepimp.net | http://www.libgd.org