预定义常量

Memcache 常量
常量名 描述
MEMCACHE_COMPRESSED (integer) 用于在 Memcache::set(), Memcache::add()Memcache::replace()几个方法中指定是否对写入数据压缩。
MEMCACHE_HAVE_SESSION (integer) 1代表当前Memcache session处理器可用,其他为0
add a noteadd a note

User Contributed Notes 1 note

up
-14
Joan
12 years ago
MEMCACHE_COMPRESSED=2
Using value of 1 produces serialization errors when retrieving values.

备份地址:http://www.lvesu.com/blog/php/memcache.constants.php