Re: [PHP-I18N] proposal: unification of the grapheme_extract functions

[email protected] (Stanislav Malyshev) Tue, 13 May 2008 15:47:13 -0700
Newsgroups php.i18n
Organization Zend Technologies
Message-ID <[email protected]>
Hi!

> You could make the type work with flags rather than type so as not to need an additional argument.
> 
> So you would declare the mix and match of start/next units and length units as flag1+flag2
> Where both flag1 and flag2 would have appropriate defaults for a value of 0.
> Flag1 would use bits 4-6 and flag2 bits in the range 1-3 or some such.
> 
> Don't hate me it is just a suggestion.

Not hating, but I still think just bytes are enough :) If we discover 
real code where I'm wrong and it can't work, we can add it later, right?
-- 
Stanislav Malyshev, Zend Software Architect
[email protected]   http://www.zend.com/
(408)253-8829   MSN: [email protected]