Update HISTORY for 1.28.1/1.27.2/1.23.16
[lhc/web/wiklou.git] / docs / php-memcached / Documentation
index 0d09d17..32e340a 100644 (file)
@@ -158,13 +158,14 @@ MC_ERR_LOADITEM_END               // _load_items failed to receive END response
 MC_ERR_LOADITEM_BYTES  // _load_items bytes read larger than bytes available
 MC_ERR_GET                             // failed to get value associated with key
 
-
+// Turns compression on or off; 0=off, 1=on
+MemCacheClient::set_compression($setting)
 
 EXAMPLE:
 <?php
-require("MemCachedClient.inc.php");
+require 'MemCachedClient.inc.php';
 
-// set the servers, with the last one having an interger weight value of 3
+// set the servers, with the last one having an integer weight value of 3
 $options["servers"] = array("10.0.0.15:11000","10.0.0.16:11001",array("10.0.0.17:11002", 3));
 $options["debug"] = false;