note 94869 rejected from function.memcache-addserver by thiago
| From: | thiago@php.net | Date: | Mon, 30 Nov 2009 12:02:55 +0000 |
| Subject: | note 94869 rejected from function.memcache-addserver by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-163401@lists.php.net to get a copy of this message | ||
Note Submitter: gary at isohunt dot com
----
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)