Hi, > De: "Christoph Becker" <cmbecke...@gmx.de> > > 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 way as binary string ones. In each case, I will apply the same mechanisms already applied to the the _substr() function, which already support negative offset and length. BTW, it allowed me to discover that NULL is already used as default value for length, at least in grapheme_substr() and mb_substr(). So, it confirms my idea of extending this to every other 'length' parameter. Regards François -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php