note 94870 added to function.memcache-addserver
| From: | GaryFung at osu1 dot php dot net | Date: | Mon, 30 Nov 2009 08:08:04 +0000 |
| Subject: | note 94870 added to function.memcache-addserver | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-163392@lists.php.net to get a copy of this message | ||
Docs on memcache lib is out of date. From README of memcache 3.0.4:
The new interface looks like
class MemcachePool() {
bool connect(string host, int tcp_port = 11211, int udp_port = 0, bool persistent = true, int
weight = 1, int timeout = 1, int retry_interval = 15)
bool addServer(string host, int tcp_port = 11211, int udp_port = 0, bool persistent = true, int
weight = 1, int timeout = 1, int retry_interval = 15, bool status = true)
bool setServerParams(string host, int tcp_port = 11211, int timeout = 1, int retry_interval = 15,
bool status = true)
----
Server IP: 216.235.13.26
Probable Submitter: 174.6.112.50
----
Manual Page -- http://www.php.net/manual/en/function.memcache-addserver.php
Edit -- https://master.php.net/note/edit/94870
Del: integrated -- https://master.php.net/note/delete/94870/integrated
Del: useless -- https://master.php.net/note/delete/94870/useless
Del: bad code -- https://master.php.net/note/delete/94870/bad+code
Del: spam -- https://master.php.net/note/delete/94870/spam
Del: non-english -- https://master.php.net/note/delete/94870/non-english
Del: in docs -- https://master.php.net/note/delete/94870/in+docs
Del: other reasons-- https://master.php.net/note/delete/94870
Reject -- https://master.php.net/note/reject/94870
Search -- https://master.php.net/manage/user-notes.php