Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20134 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32002 invoked by uid 1010); 18 Nov 2005 08:13:17 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 31987 invoked from network); 18 Nov 2005 08:13:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Nov 2005 08:13:17 -0000 X-Host-Fingerprint: 82.94.239.5 jdi.jdi-ict.nl Linux 2.5 (sometimes 2.4) (4) Received: from ([82.94.239.5:49741] helo=jdi.jdi-ict.nl) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 25/6E-07637-D1D8D734 for ; Fri, 18 Nov 2005 03:13:17 -0500 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id jAI8D3Gh007542; Fri, 18 Nov 2005 09:13:03 +0100 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id jAI8CvKs007529; Fri, 18 Nov 2005 09:12:58 +0100 Date: Fri, 18 Nov 2005 09:12:54 +0100 (CET) X-X-Sender: derick@localhost To: Robert Cummings cc: Rasmus Lerdorf , Andreas Korthaus , internals@lists.php.net, Ilia Alshanetsky In-Reply-To: <1132268684.18353.48.camel@blobule.suds> Message-ID: References: <437B530A.5050105@prohost.org> <437CF6B4.5080207@web.de> <437CF943.7090800@lerdorf.com> <1132268684.18353.48.camel@blobule.suds> X-Face: "L'&?Ah3MYF@FB4hU'XhNhLB]222(Lbr2Y@F:GE[OO;"F5p>qtFBl|yVVA&D{A(g3[C}mG:199P+5C'v.M/u@Z\![0b:Mv.[l6[uWl' MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at jdi-ict.nl Subject: Re: [PHP-DEV] dropping curly braces From: derick@php.net (Derick Rethans) On Thu, 17 Nov 2005, Robert Cummings wrote: > On Thu, 2005-11-17 at 16:42, Rasmus Lerdorf wrote: > > Andreas Korthaus wrote: > > > > > Can someone tell me the reason for this decision? > > > > Very few people converted to using {} so the argument about reading old > > Ugh, so those of us that did are going to have to comb back through our > code and revert after following the original suggestion. UGH! This should fix all occurences (even with PHP 5.1.0): for i in `find . -name \*.php`; do php -l $i; done atleast, if you turn E_STRICT on, with some smart grepping you know in no-time what to change. regards, Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org