Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17948 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81514 invoked by uid 1010); 13 Aug 2005 09:43:15 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 81499 invoked from network); 13 Aug 2005 09:43:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Aug 2005 09:43:15 -0000 X-Host-Fingerprint: 212.238.144.71 korving.demon.nl Received: from ([212.238.144.71:4633] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id D5/1E-33075-3B0CDF24 for ; Sat, 13 Aug 2005 05:43:15 -0400 Message-ID: To: internals@lists.php.net References: <42FCE0E4.604@lerdorf.com> <1114795828.20050813012424@marcus-boerger.de> <42FD935D.8060602@prohost.org> <5DC75CC6-B8F8-4431-B031-606EA0BFF912@gravitonic.com> <42FD977E.1030705@prohost.org> <73D65ACE-D442-41FF-A35C-42D92F7B7A75@gravitonic.com> Date: Sat, 13 Aug 2005 11:39:55 +0200 Lines: 43 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Posted-By: 212.238.144.71 Subject: Re: [PHP-DEV] PHP 6.0 Wishlist From: r.korving@xit.nl ("Ron Korving") What's bad about using [] for strings? I think people who come from a C-background (like myself) really like that syntax. I'd prefer it to stay the way it is. Ron "Andrei Zmievski" wrote in message news:73D65ACE-D442-41FF-A35C-42D92F7B7A75@gravitonic.com... > We did, but we never arrived at consensus. I don't really see a good > reason for giving people access to code-units with such a low-level > operator. If we fix it, I'd rather fix it so that [] only works on > arrays, and {} on strings, with some sort of BC switch. > > -Andrei > > > On Aug 12, 2005, at 11:47 PM, Ilia Alshanetsky wrote: > > > I thought we've discussed making one access code-units and the other > > code-points? > > > > Ilia > > > > Andrei Zmievski wrote: > > > >> On Aug 12, 2005, at 11:29 PM, Ilia Alshanetsky wrote: > >> > >> > >>>> 12. {} vs [] cleanup > >>>> > >>>> > >>> > >>> unicode support already makes such distinction it. > >>> > >> > >> > >> No, it doesn't. That's one of the thorny unresolved issues. > >> > >> -Andrei > >> > >