public function __construct($host = 'localhost', $port = 9200) { parent::__construct($host, $port); $this->ch = curl_init(); }
public function __construct($host = "127.0.0.1", $port = 11311) { parent::__construct($host, $port); $this->conn = new Memcache(); $this->conn->connect($host, $port); }