note 91747 deleted from function.memcache-get by danbrown
| From: | danbrown@php.net | Date: | Wed, 24 Jun 2009 16:10:27 +0000 |
| Subject: | note 91747 deleted from function.memcache-get by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-157370@lists.php.net to get a copy of this message | ||
Note Submitter: dan kuebrich
----
Spaces don't work in key names, but the PHP Memcache client library replaces them with
underscores. This quote from the memcached mailing list is enlightening:
"""
> And a last question:
> This php pecl API allows any character in cache keys?
> As I seen the protocoll doesnt allow spaces, but in the php.net
> documentation doesnt say anything about keyname constraints.
Characters like \t, \r, \n and ' ' are being replaced with '_' automatically.
I should probably add that to the docs.
"""
(http://lists.danga.com/pipermail/memcached/2005-December/001783.html)