Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhmc <hmczju@gmail.com>2019-01-15 20:40:13 +0300
committerMichael Grunder <michael.grunder@gmail.com>2019-01-15 20:58:15 +0300
commit5c8e59c4ee6ba3b4eb527298af415b80dd0d55fd (patch)
tree1075a5f240669a916657bd2b09d28f737c7f8112 /README.markdown
parente145f8582ab9aa5bb6e986298be2e47d8063c8a0 (diff)
Syntax error in zRangeByScore method example
Missing parentheses in the zRangeByScore method example
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.markdown b/README.markdown
index 22593fac..372a9ae1 100644
--- a/README.markdown
+++ b/README.markdown
@@ -2771,9 +2771,9 @@ $redis->zAdd('key', 0, 'val0');
$redis->zAdd('key', 2, 'val2');
$redis->zAdd('key', 10, 'val10');
$redis->zRangeByScore('key', 0, 3); /* array('val0', 'val2') */
-$redis->zRangeByScore('key', 0, 3, array('withscores' => TRUE); /* array('val0' => 0, 'val2' => 2) */
-$redis->zRangeByScore('key', 0, 3, array('limit' => array(1, 1)); /* array('val2') */
-$redis->zRangeByScore('key', 0, 3, array('withscores' => TRUE, 'limit' => array(1, 1)); /* array('val2' => 2) */
+$redis->zRangeByScore('key', 0, 3, array('withscores' => TRUE)); /* array('val0' => 0, 'val2' => 2) */
+$redis->zRangeByScore('key', 0, 3, array('limit' => array(1, 1))); /* array('val2') */
+$redis->zRangeByScore('key', 0, 3, array('withscores' => TRUE, 'limit' => array(1, 1))); /* array('val2' => 2) */
~~~
### zRangeByLex