note 94869 added to function.memcache-addserver
| From: | gary at isohunt dot com | Date: | Mon, 30 Nov 2009 08:07:30 +0000 |
| Subject: | note 94869 added to function.memcache-addserver | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-163391@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/94869
Del: integrated -- https://master.php.net/note/delete/94869/integrated
Del: useless -- https://master.php.net/note/delete/94869/useless
Del: bad code -- https://master.php.net/note/delete/94869/bad+code
Del: spam -- https://master.php.net/note/delete/94869/spam
Del: non-english -- https://master.php.net/note/delete/94869/non-english
Del: in docs -- https://master.php.net/note/delete/94869/in+docs
Del: other reasons-- https://master.php.net/note/delete/94869
Reject -- https://master.php.net/note/reject/94869
Search -- https://master.php.net/manage/user-notes.php