(PECL apcu >= 4.0.0)
Removes a stored variable from the cache
mixed apcu_delete ( string $key )
Removes a stored variable from the cache.
Parameters:
key
The key
used to store the value (with apcu_store()).
Returns:
Returns TRUE
on success or FALSE
on failure.
Examples:
A apcu_delete() example
1 2 3 4 5 6 | <?php $bar = 'BAR' ; apcu_store( 'foo' , $bar ); apcu_delete( 'foo' ); // this is obviously useless in this form ?> |
See also:
Please login to continue.