array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'pt_BR', ), 'this' => array ( 0 => 'function.apcu-key-info.php', 1 => 'apcu_key_info', ), 'up' => array ( 0 => 'ref.apcu.php', 1 => 'APCu Funções', ), 'prev' => array ( 0 => 'function.apcu-inc.php', 1 => 'apcu_inc', ), 'next' => array ( 0 => 'function.apcu-sma-info.php', 1 => 'apcu_sma_info', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'pt_BR', 'path' => 'reference/apcu/functions/apcu-key-info.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(No version information available, might only be in Git)
apcu_key_info — Obtém informação detalhada sobre uma chave em cache
key
Chave para a qual deseja-se obter a informação
Um array contendo informação detalhada sobre a chave em cache, ou null
se a chave não existir.
Exemplo #1 Um exemplo de apcu_key_info()
<?php
apcu_add('a','b');
var_dump(apcu_key_info('a'));
?>
O exemplo acima produzirá:
array(7) { ["hits"]=> int(0) ["access_time"]=> int(1606701783) ["mtime"]=> int(1606701783) ["creation_time"]=> int(1606701783) ["deletion_time"]=> int(0) ["ttl"]=> int(0) ["refs"]=> int(0) }