Derick Rethans wrote:
- 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.

IMO a mini release is a Z.X.Y not a Z.X release. The 5.1 release in particular introduces far more reaching changes already then this minor feature I am suggesting.


- Substring works just fine, adding this for performance reasons is IMO
  invalid.

I presume you have some benchmarks to prove this, I'd very much like to see those.


- 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)

This functionality that you mention is not even on the table, we are talking about a very specific feature. If someone wanted {1,3} and similar support it would be a completely separate matter.


Ilia

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to