PHP and mbstring

Ian Kallen spidaman at gmail.com
Wed Dec 15 14:49:56 PST 2004


Timo Ewald's PHP memcached-client submission from the other day seemed
to work fine except for the brain-dead semantics of PHP's strlen...
The code I'm working with has mbstring compiled for multibyte
charcters. The client code needs to know the length in bytes of data
payloads, not character counts. So I patched it with the attached
modifications to make it work.
-Ian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: memcached-client.php-patch
Type: application/octet-stream
Size: 1705 bytes
Desc: not available
Url : http://lists.danga.com/pipermail/memcached/attachments/20041215/a6b29783/memcached-client.obj


More information about the memcached mailing list