X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/ca37e9cde814dd093cf2cf5d36f178854d768b3e..6f864e62661637917ce6b449ae2c5e11538dfa1f:/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();