]> git.saurik.com Git - redis.git/blobdiff - client-libraries/php/redis.php
dictGetRandomKey bug fixed, RANDOMKEY will not block the server anymore
[redis.git] / client-libraries / php / redis.php
index 1e582d244fa28311ed20320b13d78dbeb70c9d51..6a0d21be68d10dca22210eb09f7664768d145988 100644 (file)
@@ -68,6 +68,12 @@ class Redis {
         $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();