On Wed, 23 Nov 2011 21:06:09 -0000, Pierre Joye <pierre....@gmail.com>
wrote:
The fact that we have reports here showing code not working anymore
because of this change tells me that it is a BC break. We can call it
a bug fix but it still breaks code out there for no real benefit but
edge case usages. We had this situation before, that does not help us.
I'd say for no benefit at all. Why would anyone ever want to take a string
offset from a string that certainly has length 1? Except for taking
satisfaction in this "improved consistency", I see absolutely no benefit.
Up until now, it was deemed a useless but innocuous change. Now that we
found it has pernicious side effects, we ought to revert it.
--
Gustavo Lopes
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php