/**
  * Test getting a range by score
  */
 public function testZrangebyscore()
 {
     $this->redis->del('testZrangebyscore');
     $this->assertEquals(1, $this->redis->zadd('testZrangebyscore', 1, 'one'));
     $this->assertEquals(1, $this->redis->zadd('testZrangebyscore', 2, 'two'));
     $this->assertEquals(1, $this->redis->zadd('testZrangebyscore', 3, 'three'));
     $this->assertEquals(array('one', 'two', 'three'), $this->redis->zrangebyscore('testZrangebyscore', '-inf', '+inf'));
     $this->assertEquals(array('one', 'two'), $this->redis->zrangebyscore('testZrangebyscore', 1, 2));
     $this->assertEquals(array('two'), $this->redis->zrangebyscore('testZrangebyscore', '(1', 2));
     $this->assertEquals(array(), $this->redis->zrangebyscore('testZrangebyscore', '(1', '(2'));
     $this->assertEquals(array('one' => 1, 'two' => 2, 'three' => 3), $this->redis->zrangebyscore('testZrangebyscore', '-inf', '+inf', array('withscores' => true)));
     $this->assertEquals(array('one' => 1), $this->redis->zrangebyscore('testZrangebyscore', '-inf', '+inf', array('withscores' => true, 'limit' => array(0, 1))));
 }