Memcache::delete
Delete item from the server
&reftitle.description;
boolMemcache::delete
stringkey
inttimeout
Memcache::delete deletes item with the
key. If parameter timeout
is specified, the item will expire after
timeout seconds.
Also you can use memcache_delete function.
&reftitle.parameters;
key
The key associated with the item to delete.
timeout
Execution time of the item. If it's equal to zero, the item will be
deleted right away whereas if you set it to 30, the item will be
deleted in 30 seconds.
&reftitle.returnvalues;
&return.success;
&reftitle.examples;
Memcache::delete example
connect('memcache_host', 11211);
$memcache_obj->delete('key_to_delete', 10);
?>
]]>
&reftitle.seealso;
Memcache::set
Memcache::replace