Memcached::addServers
Memcached::addServers
(PECL memcached >= 0.1.1)
Memcached::addServers — Add multiple servers to the server pool
Description
public bool Memcached::addServers ( array $servers )
Memcached::addServers() adds servers
to the server pool. Each entry in servers
is supposed to be an array containing hostname, port, and, optionally, weight of the server. No connection is established to the servers at this time.
The same server may appear multiple times in the server pool, because no duplication check