downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

apc_fetch> <apc_define_constants
Last updated: Fri, 06 Nov 2009

view this page in

apc_delete

(PECL apc >= 3.0.0)

apc_delete 格納されている変数をキャッシュから取り除く

説明

bool apc_delete ( string $key )

格納されている変数をキャッシュから取り除きます。

パラメータ

key

apc_store() を用いて)値を格納する際に 使用された key

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

例1 apc_delete() の例

<?php
$bar 
'BAR';
apc_store('foo'$bar);
apc_delete('foo');
// もちろん、このような使い方は無意味
?>

参考

  • apc_store() - 変数をデータ領域にキャッシュする
  • apc_fetch() - 格納されている変数をキャッシュから取得する



add a note add a note User Contributed Notes
apc_delete
There are no user contributed notes for this page.

apc_fetch> <apc_define_constants
Last updated: Fri, 06 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites