Example #1
0
 public function test_zRevRangeByScore()
 {
     $this->assertEquals('zrevrangebyscore k 5 7', $this->redis->zRevRangeByScore('k', 5, 7));
     $this->assertEquals('zrevrangebyscore k 5 7 withscores', $this->redis->zRevRangeByScore('k', 5, 7, true));
     $this->assertEquals('zrevrangebyscore k 5 7 limit 1 10', $this->redis->zRevRangeByScore('k', 5, 7, false, array(1, 10)));
 }