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

Reply via email to