132
132
$this->connection = new Memcache;
133
133
foreach ($this->servers as $server) {
134
$this->connection->addServer($server[0], $server[1], true, $server[2]);
134
$this->connection->addServer($server[0], (int) $server[1], true, (int) $server[2]);
136
136
// Test the connection to the pool of servers.
137
137
$this->isready = @$this->connection->set($this->parse_key('ping'), 'ping', MEMCACHE_COMPRESSED, 1);