|
Memcached::addServerAdd a server to the server pool Description
public bool Memcached::addServer
( string
$host
, int $port
[, int $weight = 0
] )
Memcached::addServer adds the specified server to the
server pool. No connection is established to the server at this time, but
if you are using consistent key distribution option (via
The same server may appear multiple times in the server pool, because no
duplication checks are made. This is not advisable; instead, use the
Parameters
Return Values
Returns Examples
Example #1 Memcached::addServer example
<?php See Also
|