Skip to content

Commit 55dcdf9

Browse files
committed
Added note about LREM argument order (GitHub issue phpredis#54).
1 parent ecf0e8e commit 55dcdf9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.markdown

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,9 @@ $redis->lRange('key1', 0, -1); /* array('A', 'B') */
690690
## lRem, lRemove
691691
##### *Description*
692692
Removes the first `count` occurences of the value element from the list. If count is zero, all the matching elements are removed. If count is negative, elements are removed from tail to head.
693+
694+
**Note**: The argument order is not the same as in the Redis documentation. This difference is kept for compatibility reasons.
695+
693696
##### *Parameters*
694697
*key*
695698
*value*

0 commit comments

Comments
 (0)