decrement($id[, $offset = 1])
Parameters: |
|
---|---|
Returns: |
New value on success, FALSE on failure |
Return type: |
mixed |
Performs atomic decrementation of a raw stored value.
// 'iterator' has a value of 6 $this->cache->decrement('iterator'); // 'iterator' is now 5 $this->cache->decrement('iterator', 2); // 'iterator' is now 3
Please login to continue.