Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36569 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62214 invoked from network); 26 Mar 2008 20:25:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Mar 2008 20:25:13 -0000 Authentication-Results: pb1.pair.com smtp.mail=mls@pooteeweet.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=mls@pooteeweet.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pooteeweet.org from 85.10.196.195 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 85.10.196.195 serveforce1.backendmedia.com Linux 2.6 Received: from [85.10.196.195] ([85.10.196.195:40494] helo=serveforce1.backendmedia.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D4/FC-47041-621BAE74 for ; Wed, 26 Mar 2008 15:25:11 -0500 Received: from [192.168.0.151] (77-57-23-243.dclient.hispeed.ch [77.57.23.243]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) by serveforce1.backendmedia.com (Postfix) with ESMTP id E9AA61224612; Wed, 26 Mar 2008 21:24:58 +0100 (CET) Cc: Derick Rethans , Marcus Boerger , Hannes Magnusson , PHP Internals Message-ID: <827745B1-2C5C-40BE-8272-EEB332692DD7@pooteeweet.org> To: Stanislav Malyshev In-Reply-To: <47EAAA45.4000103@zend.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Wed, 26 Mar 2008 21:24:55 +0100 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> X-Mailer: Apple Mail (2.919.2) X-backendmedia-com-MailScanner-Information: Please contact the ISP for more information X-backendmedia-com-MailScanner: Found to be clean X-backendmedia-com-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=0.135, required 6, AWL 0.04, RDNS_DYNAMIC 0.10) X-backendmedia-com-MailScanner-From: mls@pooteeweet.org X-Spam-Status: No Subject: Re: [PHP-DEV] short_open_tag From: mls@pooteeweet.org (Lukas Kahwe Smith) On 26.03.2008, at 20:55, Stanislav Malyshev wrote: > 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. > > 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. do note that we have increasingly large numbers of way to jump out of the scope (exceptions, recoverable errors). this obviously makes these kinds of cleanups potentially easier to forget. regards, Lukas