<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Predefined Constants</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="memcache.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="memcache.examples.html">Examples</a></div> <div class="up"><a href="book.memcache.html">Memcache</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="memcache.constants" class="appendix"> <h1>Predefined Constants</h1> <table class="doctable table"> <caption><strong>Memcache Constants</strong></caption> <thead> <tr> <th>Name</th> <th>Description</th> </tr> </thead> <tbody class="tbody"> <tr> <td> <strong><code>MEMCACHE_COMPRESSED</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td> Used to turn on-the-fly data compression on with <span class="function"><a href="memcache.set.html" class="function">Memcache::set()</a></span>, <span class="function"><a href="memcache.add.html" class="function">Memcache::add()</a></span> and <span class="function"><a href="memcache.replace.html" class="function">Memcache::replace()</a></span>. </td> </tr> <tr> <td> <strong><code>MEMCACHE_HAVE_SESSION</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td> 1 if this Memcache session handler is available, 0 otherwise. </td> </tr> <tr> <td> <strong><code>MEMCACHE_USER1</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td> Used to turn user-defined application flag on with <span class="function"><a href="memcache.set.html" class="function">Memcache::set()</a></span>, <span class="function"><a href="memcache.add.html" class="function">Memcache::add()</a></span> and <span class="function"><a href="memcache.replace.html" class="function">Memcache::replace()</a></span>. </td> </tr> <tr> <td> <strong><code>MEMCACHE_USER2</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td> Used to turn user-defined application flag on with <span class="function"><a href="memcache.set.html" class="function">Memcache::set()</a></span>, <span class="function"><a href="memcache.add.html" class="function">Memcache::add()</a></span> and <span class="function"><a href="memcache.replace.html" class="function">Memcache::replace()</a></span>. </td> </tr> <tr> <td> <strong><code>MEMCACHE_USER3</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td> Used to turn user-defined application flag on with <span class="function"><a href="memcache.set.html" class="function">Memcache::set()</a></span>, <span class="function"><a href="memcache.add.html" class="function">Memcache::add()</a></span> and <span class="function"><a href="memcache.replace.html" class="function">Memcache::replace()</a></span>. </td> </tr> <tr> <td> <strong><code>MEMCACHE_USER4</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </td> <td> Used to turn user-defined application flag on with <span class="function"><a href="memcache.set.html" class="function">Memcache::set()</a></span>, <span class="function"><a href="memcache.add.html" class="function">Memcache::add()</a></span> and <span class="function"><a href="memcache.replace.html" class="function">Memcache::replace()</a></span>. </td> </tr> </tbody> </table> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="memcache.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="memcache.examples.html">Examples</a></div> <div class="up"><a href="book.memcache.html">Memcache</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>