apc_delete

(PECL apc >= 3.0.0)
Removes a stored variable from the cache
mixed apc_delete ( string $key )

Removes a stored variable from the cache.

Parameters:
key

The key used to store the value (with apc_store()).

Returns:

Returns TRUE on success or FALSE on failure.

Examples:
A apc_delete() example
<?php
$bar = 'BAR';
apc_store('foo', $bar);
apc_delete('foo');
// this is obviously useless in this form
?>

See also:

apc_store() -

apc_fetch() -

doc_php
2016-02-24 15:53:37
Comments
Leave a Comment

Please login to continue.