Merge "maintenance: Move backup.inc to a regular php class file"
[lhc/web/wiklou.git] / docs / php-memcached / Documentation
index 4782807..6a0dce6 100644 (file)
@@ -130,7 +130,7 @@ MemCachedClient::set_debug($do_debug);
 MemCachedClient::forget_dead_hosts();
 
 // When a function returns FALSE, an error code is set.
-// This funtion will return the error code.
+// This function will return the error code.
 // See error_string()
 // returns last error code set
 MemCachedClient::error()
@@ -163,9 +163,9 @@ 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;