Re: proposal: unification of the grapheme_extract functions

From: Date: Tue, 13 May 2008 22:47:13 +0000
Subject: Re: proposal: unification of the grapheme_extract functions
References: 1 2 3  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-1215@lists.php.net to get a copy of this message
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 stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.i18n (#1215) next »