Hi,
I am proposing to unify the three grapheme_extract functions this way:
string grapheme_extract ( string $haystack ,
int $size
[, int $extract_type
[, string $start ]] )
where $extract_type is:
GRAPHEME_EXTR_COUNT - $size is number of graphemes (default)
GRAPHEME_EXTR_MAXBYTES - $size is maximum number of bytes to extract
GRAPHEME_EXTR_MAXCHARS - $size is maximum number of UTF-8 character to
extract
and the other arguments are as in the current set of extract functions.
Sorry if I missed someone's proposal for this - I am only on the php-i18n
list at this point. Please post your proposal to this list, if possible.
Thanks,
=Ed
--
PHP Unicode & I18N Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php