PHP extension announce

Russell Garrett rg@tcslon.com
Wed, 11 Feb 2004 14:40:57 +0000


On Wed, 2004-02-11 at 14:34, Antony Dovgal wrote:
> > Fantastic, this is exactly what we needed - sockets functions in PHP
> > don't work particularly well when multibyte support is enabled. 
> hmmm..
> this sounds strange.
> can you fill a bug report at bugs.php.net ?

It's simply because both the PHP memcached classes use strlen() when
they need to count the number of bytes. On our install, strlen() is
overloaded to the multibyte version, so it's all broken.

The bug in PHP was that it was designed, through severe lack of
foresight, for single-byte character sets, and multibyte support is a
real hack.

Russ Garrett
russ@last.fm