apc_delete
(PECL apc:3.0.0-3.0.9)
apc_delete — Removes a stored variable from the cache
說明
bool apc_delete
( string $key
)
Return值
如果成功則回傳 TRUE,失敗則回傳 FALSE。
範例
Example#1 A apc_delete() example
<?php
$bar = 'BAR';
apc_store('foo', $bar);
apc_delete('foo');
// this is obviously useless in this form
?>