Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20137 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39578 invoked by uid 1010); 18 Nov 2005 08:30:53 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 39563 invoked from network); 18 Nov 2005 08:30:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Nov 2005 08:30:52 -0000 X-Host-Fingerprint: 66.11.173.122 unknown Received: from ([66.11.173.122:60837] helo=interjinn.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id E7/3F-07637-C319D734 for ; Fri, 18 Nov 2005 03:30:52 -0500 Received: from blobule.suds (blobule.suds [192.168.1.3]) by interjinn.com (Postfix) with ESMTP id 61EC111FB71; Fri, 18 Nov 2005 03:30:48 -0500 (EST) To: Derick Rethans Cc: Rasmus Lerdorf , Andreas Korthaus , internals@lists.php.net, Ilia Alshanetsky In-Reply-To: References: <437B530A.5050105@prohost.org> <437CF6B4.5080207@web.de> <437CF943.7090800@lerdorf.com> <1132268684.18353.48.camel@blobule.suds> Content-Type: text/plain Organization: InterJinn Message-ID: <1132302670.22860.12.camel@blobule.suds> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5-4mdk Date: Fri, 18 Nov 2005 03:31:10 -0500 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] dropping curly braces From: robert@interjinn.com (Robert Cummings) On Fri, 2005-11-18 at 03:12, Derick Rethans wrote: > 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. That's pretty cool. I always forget about the -l option. Thanks. Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------'