Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20124 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15851 invoked by uid 1010); 18 Nov 2005 01:38:35 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 15836 invoked from network); 18 Nov 2005 01:38:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Nov 2005 01:38:34 -0000 X-Host-Fingerprint: 204.11.219.139 lerdorf.com Linux 2.4/2.6 Received: from ([204.11.219.139:52798] helo=colo.lerdorf.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id DA/A1-07637-A903D734 for ; Thu, 17 Nov 2005 20:38:34 -0500 Received: from [192.168.11.3] (c-24-6-96-18.hsd1.ca.comcast.net [24.6.96.18]) (authenticated bits=0) by colo.lerdorf.com (8.13.5/8.13.5/Debian-3) with ESMTP id jAI1cQob020240; Thu, 17 Nov 2005 17:38:26 -0800 In-Reply-To: <437D11B7.7090102@web.de> References: <437B530A.5050105@prohost.org> <437CF6B4.5080207@web.de> <437CF943.7090800@lerdorf.com> <437D0D08.8060805@web.de> <437D0E22.7080006@lerdorf.com> <437D11B7.7090102@web.de> Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: <2572EABC-636E-4978-A6DD-20C2D81BAA1D@gravitonic.com> Cc: Rasmus Lerdorf , internals@lists.php.net Content-Transfer-Encoding: 7bit Date: Thu, 17 Nov 2005 17:38:26 -0800 To: Andreas Korthaus X-Mailer: Apple Mail (2.734) Subject: Re: [PHP-DEV] dropping curly braces From: andrei@gravitonic.com (Andrei Zmievski) You will break many more scripts by dropping [] for strings than the other way around. Do you agree? -Andrei On Nov 17, 2005, at 3:26 PM, Andreas Korthaus wrote: > OK, but by dropping {} for strings you also remove the possibility > to have a convention like "[] for arrays and {} for strings". > If I could decide I would drop {} for arrays and [] for strings, > but I fear I will not be asked to decide... ;-) > > Best regards > Andreas > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >