Client/MemcacheClient.php
public function addServers(array $servers)
    {
        if (count($servers) == 0) {
            return false;
        }

        foreach ($servers as $ip => $port) {
            if (intval($port) == 0) {
                $port = null;
            }

            if ($this->probeServer($ip, $port)) {
                $status = $this->addServer($ip, $port);
                $this->safe = true;
            }
        }
    }
public function addServers(array $servers)
    {
        if (count($servers) == 0) {
            return false;
        }

        foreach ($servers as $ip => $port) {
            if (intval($port) == 0) {
                $port = null;
            }

            if ($this->probeServer($ip, $port)) {
                $status = $this->addServer($ip, $port);
                $this->safe = true;
            }
        }
    }
Add an array of servers to the memcache pool

Uses ProbeServer to verify that the connection is valid.

Format of array:

$servers[ '127.0.0.1' ] = 11211;

Logic is somewhat flawed, of course, because it wouldn't let you add multiple
servers on the same IP.

Serious flaw, right? ;-)

@param array $servers See above format definition
@access public
@return void