Re: [PHP-DEV] Re: [Proposal] Extend support for negative string offsets

2015-07-23 Thread flaupretre
Hi, > De: "Christoph Becker" > > That may be useful as well, but what about the respective mbstring and > grapheme functions? At least these should be improved as well, but I'm > not sure if that can be done in an efficient manner. iconv, mb, and grapheme functions need to be modified the same

[PHP-DEV] Re: [Proposal] Extend support for negative string offsets

2015-07-23 Thread Christoph Becker
François Laupretre wrote: > I need your thoughts on a PR (https://github.com/php/php-src/pull/1431) I am > working on. The subject is to change the way negative string offsets (and > lengths, where applicable) are handled, to make the behavior consistent with > the way they're handled in substr()