APC エリソ�
PHP Manual

apc_exists

(PECL apc >= 3.1.4)

apc_existsAPC ・ュ。シ、ャツクコ゚、ケ、�ォ、ノ、ヲ、ォ、エ、ル、�

タ篶タ

mixed apc_exists ( mixed $keys )

サリト熙キ、ソ APC ・ュ。シ、ャツクコ゚、ケ、�ォ、ノ、ヲ、ォ、エ、ル、゙、ケ。」

・ム・鬣癸シ・ソ

keys

・ュ。シ、゙、猝クサ昀「、「、�、、マハクサ昀ホヌロホ」

ハヨ、�ヘ

・ュ。シ、ャツクコ゚、ケ、��遉ヒ 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)
}

サイケヘ


APC エリソ�
PHP Manual