Skip to content

Commit acc6a21

Browse files
author
Simon Effenberg
committed
incrBy and decrBy added and changelog updated
1 parent c3a56c8 commit acc6a21

2 files changed

Lines changed: 11 additions & 4 deletions

File tree

README.markdown

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -254,12 +254,12 @@ $redis->exists('key'); /* TRUE */
254254
$redis->exists('NonExistingKey'); /* FALSE */
255255
</pre>
256256

257-
## incr, incrby
257+
## incr, incrBy
258258
##### Description
259259
Increment the number stored at key by one. If the second argument is filled, it will be used as the integer value of the increment.
260260
##### Parameters
261261
*key*
262-
*value*: value that will be added to key (only for incrby)
262+
*value*: value that will be added to key (only for incrBy)
263263
##### Return value
264264
*INT* the new value
265265
##### Examples
@@ -273,12 +273,12 @@ $redis->incr('key1'); /* 4 */
273273
$redis->incrBy('key1', 10); /* 14 */
274274
</pre>
275275

276-
## decr, decrby
276+
## decr, decrBy
277277
##### Description
278278
Decrement the number stored at key by one. If the second argument is filled, it will be used as the integer value of the decrement.
279279
##### Parameters
280280
*key*
281-
*value*: value that will be substracted to key (only for decrby)
281+
*value*: value that will be substracted to key (only for decrBy)
282282
##### Return value
283283
*INT* the new value
284284
##### Examples

debian/changelog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
phpredis (2.0.8-1) unstable; urgency=low
2+
3+
* Merged with upstream but there seems to be no new version.
4+
* incrBy/decrBy added
5+
6+
-- Simon Effenberg <se@plista.com> Wed, 27 Oct 2010 10:36:35 +0200
7+
18
phpredis (2.0.8) unstable; urgency=low
29

310
* Merged with upstream

0 commit comments

Comments
 (0)