unread
The two attached files add a sixth mode to count chars, one that
comes up now and again.
This is the same as mode 1, but the resulting array has the actual
char as the array index instead of the byte-value. This can be used
in place of preg_split('//', $string) and such.
I've also prepared patches for the documentation and for 4.3.2 to go
along with this.
You can also find the patches online:
http://www.joeysmith.com/CVS_HEAD.patch
http://www.joeysmith.com/PHP_4_3_2.patch
http://www.joeysmith.com/phpdoc.patch