|
|||||||
|
|
Memcache::decrementDescriptionint Memcache::decrement ( string key [, int value])Memcache::decrement() decrements value of the item by value. Similarly to Memcache::increment(), current value of the item is being converted to numerical and after that value is substracted. Parameter value is optional. It's default is 1.
Also you can use memcache_decrement() function. See example below. Memcache::decrement() does not create an item if it didn't exist. Memcache::decrement() returns item's new value on success or FALSE on failure. See also Memcache::increment(), Memcache::replace(). | ||||||
|
|
|
Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account Document on this page is part of "Manuale PHP". See Index Page for more info about Authorship and Copyright. 1999-2009 Linuxinfor.com. No rights reserved. |