$redis->hMGet("REDIS_BIG_KEY", ['1999'=>1,'2000'=>2]);
['1999'=>false,'2000'=>false]
<?php
$redis = new Redis();
$redis->connect('127.0.0.1', 6379);
$redis->hSet("REDIS_BIG_KEY", 1991, 1);
$redis->hSet("REDIS_BIG_KEY", 1992, 2);
var_dump($redis->hGetAll('REDIS_BIG_KEY'));
$redis->del('REDIS_BIG_KEY');
var_dump($redis->hGetAll('REDIS_BIG_KEY'));
/*
array(2) {
[1991]=>
string(1) "1"
[1992]=>
string(1) "2"
}
array(0) {
}
*/
127.0.0.1:6379> hgetall REDIS_BIG_KEY
1) "1991"
2) "1"
3) "1992"
4) "2"
127.0.0.1:6379> hgetall REDIS_BIG_KEY
(empty list or set)
127.0.0.1:6379>