dismiss Step into the future! Click here to switch to the beta php.net site
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Examples> <Resource Types
[edit] Last updated: Fri, 28 Jun 2013

view this page in

Predefined Constants

Memcache Constants
Name Description
MEMCACHE_COMPRESSED (integer) Used to turn on-the-fly data compression on with Memcache::set(), Memcache::add() and Memcache::replace().
MEMCACHE_HAVE_SESSION (integer) 1 if this Memcache session handler is available, 0 otherwise.
MEMCACHE_USER1 (integer) Used to turn user-defined application flag on with Memcache::set(), Memcache::add() and Memcache::replace().
MEMCACHE_USER2 (integer) Used to turn user-defined application flag on with Memcache::set(), Memcache::add() and Memcache::replace().
MEMCACHE_USER3 (integer) Used to turn user-defined application flag on with Memcache::set(), Memcache::add() and Memcache::replace().
MEMCACHE_USER4 (integer) Used to turn user-defined application flag on with Memcache::set(), Memcache::add() and Memcache::replace().


add a note add a note User Contributed Notes Predefined Constants - [1 notes]
up
0
Joan
3 years ago
MEMCACHE_COMPRESSED=2
Using value of 1 produces serialization errors when retrieving values.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites