From 39a8673b86c8e073613d6b52f2c48f1a22f8d9ff Mon Sep 17 00:00:00 2001 From: michael-grunder Date: Sat, 7 Jun 2014 18:10:34 -0700 Subject: Added ZRANGE and ZREVRANGE Implemented ZRANGE and ZREVRANGE for both Redis and cluster. We can't use generic command processing here as the return type depends on the optional WITHSCORES bit. In addition, switched the code around such that zReverseRange is an alias of zRevRange because ZREVRANGE is the actual Redis command name. --- php_redis.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'php_redis.h') diff --git a/php_redis.h b/php_redis.h index 2c35c822..428440e8 100644 --- a/php_redis.h +++ b/php_redis.h @@ -108,7 +108,7 @@ PHP_METHOD(Redis, move); PHP_METHOD(Redis, zAdd); PHP_METHOD(Redis, zDelete); PHP_METHOD(Redis, zRange); -PHP_METHOD(Redis, zReverseRange); +PHP_METHOD(Redis, zRevRange); PHP_METHOD(Redis, zRangeByScore); PHP_METHOD(Redis, zRangeByLex); PHP_METHOD(Redis, zRevRangeByScore); -- cgit v1.2.3