Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13617 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80624 invoked by uid 1010); 29 Oct 2004 23:36:35 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 80445 invoked from network); 29 Oct 2004 23:36:34 -0000 Received: from unknown (HELO wproxy.gmail.com) (64.233.184.202) by pb1.pair.com with SMTP; 29 Oct 2004 23:36:34 -0000 Received: by wproxy.gmail.com with SMTP id 57so1442wri for ; Fri, 29 Oct 2004 16:36:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=WEl8CyVivPiE8QWwgi+JKJgMMgtfTsos6RT006B54WXO8oIT0kFyXPlcpTzlQUZBBrgTKbzZFrVQ7ds9lby/WK+svoprVufE7oc2wYCuDUIa/qpm5MaOo3KKWX8ar9zWg6LwLs8yIgxADRRTYPnapY6EPKkg+8oSC5lwRlmtbkc= Received: by 10.38.171.63 with SMTP id t63mr817067rne; Fri, 29 Oct 2004 16:36:33 -0700 (PDT) Received: by 10.38.75.76 with HTTP; Fri, 29 Oct 2004 16:36:33 -0700 (PDT) Message-ID: <24e5f3b704102916361005fb64@mail.gmail.com> Date: Fri, 29 Oct 2004 16:36:33 -0700 Reply-To: sterling@apache.org To: Derick Rethans Cc: Andi Gutmans , PHP Developers Mailing List In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <418294D9.4070700@prohost.org> <20041029193421.9557.qmail@pb1.pair.com> <5.1.0.14.2.20041029162045.0439b9c0@localhost> Subject: Re: [PHP-DEV] Re: Negative string offset support From: sterling.hughes@gmail.com (Sterling Hughes) I think we should not follow this discussion on internals@ and instead we should have a subcommittee to study whether or not the word need was appropriate in the context of the substring operator, or whether in fact, "would be nice to have, but might be able to continue living" would've been a more appropriate form of expression. -Sterling On Sat, 30 Oct 2004 01:29:46 +0200 (CEST), Derick Rethans wrote: > On Fri, 29 Oct 2004, Andi Gutmans wrote: > > > Yeah, I also thought the word "need" is a bit strong :) It's more like > > "syntactic sugar which is nice-to-have" > > As I just told Ilia on IRC, I think we should not add this (now) for a > couple of reasons: > > - Adding new language constructs in mini releases is IMO not the way to > go as it will make it possible impossible to run script that use this > new construct not even parse on PHP 5.0.x servers. Adding normal new > functions does not have this problem of course, as those scripts are > still parsable. > - Substring works just fine, adding this for performance reasons is IMO > invalid. > - People might want to take this even further and request {1,3}, {-3,2} > and the like. (This was expressed in the past when talking about this > stuff) > > regards, > > > Derick > > -- > Derick Rethans > http://derickrethans.nl | http://ez.no | http://xdebug.org > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >