X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/975a5b6f9876beb55272160c8f602b9e248c0300..edd9f775f0b51f031a04c7fc7573b276d152a74f:/client-libraries/php/redis.php diff --git a/client-libraries/php/redis.php b/client-libraries/php/redis.php index 1e582d24..6a0d21be 100644 --- a/client-libraries/php/redis.php +++ b/client-libraries/php/redis.php @@ -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();