(PECL apc >= 3.1.4)
apc_exists — APC ・ュ。シ、ャツクコ゚、ケ、�ォ、ノ、ヲ、ォ、エ、ル、�
・ュ。シ、゙、猝クサ昀「、「、�、、マハクサ昀ホヌロホ」
・ュ。シ、ャツクコ゚、ケ、��遉ヒ TRUE。「、ス、�ハウー、ホセ�遉ヒ FALSE 、ヨ、キ、゙、ケ。」 keys 、ヒヌロホマ、キ、ソ、ネ、ュ、マ。「 ツクコ゚、ケ、�ュ。シ、ケ、ル、ニエ゙、猊ロホヨ、キ、゙、ケ。」 、ノ、�篦クコ゚、キ、ハ、、セ�遉マカホヌロホヨ、キ、゙、ケ。」
ホ�1 apc_exists() 、ホホ�
<?php
$fruit = 'apple';
$veggie = 'carrot';
apc_store('foo', $fruit);
apc_store('bar', $veggie);
if (apc_exists('foo')) {
echo "Foo exists: ";
echo apc_fetch('foo');
} else {
echo "Foo does not exist";
}
echo PHP_EOL;
if (apc_exists('baz')) {
echo "Baz exists.";
} else {
echo "Baz does not exist";
}
echo PHP_EOL;
$ret = apc_exists(array('foo', 'donotexist', 'bar'));
var_dump($ret);
?>
セ螟ホホ网ホスミホマ、マ。「 、ソ、ネ、ィ、ミーハイシ、ホ、隍ヲ、ヒ、ハ、熙゙、ケ。」
Foo exists: apple Baz does not exist array(2) { ["foo"]=> bool(true) ["bar"]=> bool(true) }