src/BTR/RedisObjects/RedisSortedSet.php
public function rangeByScore($min, $max, $withscores = false, $limit = null, bool $reverse = false): array
    {
        if ($reverse) {
            $ret = $this->redis->zrevrangebyscore($this->key, $min, $max, $withscores, $limit);
        } else {
            $ret = $this->redis->zrangebyscore($this->key, $min, $max, $withscores, $limit);
        }

        return array_map([$this, 'strToVal'], $ret);
    }
public function rangeByScore($min, $max, $withscores = false, $limit = null, bool $reverse = false): array
    {
        if ($reverse) {
            $ret = $this->redis->zrevrangebyscore($this->key, $min, $max, $withscores, $limit);
        } else {
            $ret = $this->redis->zrangebyscore($this->key, $min, $max, $withscores, $limit);
        }

        return array_map([$this, 'strToVal'], $ret);
    }
@link https://redis.io/commands/zrangebyscore
@link https://redis.io/commands/zrevrangebyscore

@param int|string     $min
@param int|string     $max
@param bool           $withscores
@param array|int|null $limit

@param bool           $reverse Output is reversed.

@return array|string[]