apc_delete

(PECL)

apc_delete --  Removes a stored variable from the cache

說明

bool apc_delete ( string key )

參數

key

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

返回值

若果成功則返回 TRUE,失敗則返回 FALSE

範例

例子 1. A apc_delete() example

<?php
$bar 
'BAR';
apc_store('foo'$bar);
apc_delete('foo'));
// this is obviously useless in this form
?>