|
Memcached::decrementDecrement numeric item's value Description
public int Memcached::decrement
( string
$key
[, int $offset = 1
[, int $initial_value = 0
[, int $expiry = 0
]]] )
Memcached::decrement decrements a numeric item's value
by the specified Parameters
Return Values
Returns item's new value on success or Examples
Example #1 Memcached::decrement example
<?php The above example will output: int(4) int(0) int(0) bool(false) See Also
|