| Manuál PHP | ||
|---|---|---|
| PÅ™edcházejÃcà | Dalšà | |
Memcache::decrement
Popis
int 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.
Poznámka: New item's value will not be less than zero.
Poznámka: Do not use Memcache::decrement() with item, which was stored compressed, because consequent call to Memcache::get() will fail.
Seznam parametrů
keyKey of the item do decrement.
valueDecrement the item by
value. Optional and defaults to 1.
PÅ™Ãklady
| PÅ™edcházejÃcà | Domů | Dalšà |
| memcache_debug | Nahoru |