Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20135 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33492 invoked by uid 1010); 18 Nov 2005 08:14:34 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 33477 invoked from network); 18 Nov 2005 08:14:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Nov 2005 08:14:34 -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:49752] helo=jdi.jdi-ict.nl) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 74/AE-07637-96D8D734 for ; Fri, 18 Nov 2005 03:14:33 -0500 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id jAI8ESb0007647; Fri, 18 Nov 2005 09:14:28 +0100 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id jAI8EPDB007640; Fri, 18 Nov 2005 09:14:25 +0100 Date: Fri, 18 Nov 2005 09:14:22 +0100 (CET) X-X-Sender: derick@localhost To: Andreas Korthaus cc: internals@lists.php.net, Rasmus Lerdorf , Ilia Alshanetsky In-Reply-To: <437D0D08.8060805@web.de> Message-ID: References: <437B530A.5050105@prohost.org> <437CF6B4.5080207@web.de> <437CF943.7090800@lerdorf.com> <437D0D08.8060805@web.de> 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 Fri, 18 Nov 2005, Andreas Korthaus wrote: > > If you go and grep through all the public code out there, pretty much none > > of it uses {} for character offsets. > > That's the problem - also grep does not know if [] is used for arrays or > stings. That's the same for programmers, it's often not easy to conclude from > context - that's my point. grep won't, but php -l will. regards, Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org