$this->write("GET $name\r\n");
return $this->get_response();
}
+
+ public function mget($keys) {
+ $this->connect();
+ $this->write("MGET ".implode(" ",$keys)."\r\n");
+ return $this->get_response();
+ }
public function incr($name, $amount=1) {
$this->connect();
}
}
+/*
$r = new Redis();
+var_dump($r->set("foo","bar"));
var_dump($r->get("foo"));
var_dump($r->info());
+*/
?>