Fixed the wincache-ucache-info function description and example.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295829 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Ruslan Yakushev 2010-03-04 18:54:41 +00:00
parent 0bd545b5a5
commit 2d3eabbfd7

View file

@ -35,6 +35,12 @@
<literal>total_item_count</literal> - total number of elements that are currently in the user cache
</simpara>
</listitem>
<listitem>
<simpara>
<literal>is_local_cache</literal> - true is the cache metadata is for a local cache instance,
false if the metadata is for the global cache
</simpara>
</listitem>
<listitem>
<simpara>
<literal>total_hit_count</literal> - number of times the data has been served from the cache
@ -47,7 +53,7 @@
</listitem>
<listitem>
<para>
<literal>file_entries</literal> - an array that contains the information about all the cached items:
<literal>ucache_entries</literal> - an array that contains the information about all the cached items:
<itemizedlist spacing="compact">
<listitem>
<simpara>
@ -116,19 +122,20 @@ print_r(wincache_ucache_info());
<screen>
<![CDATA[
Array
( [total_cache_uptime] => 0
[is_local_cache] =>
[total_item_count] => 1
[total_hit_count] => 3
[total_miss_count] => 1
[ucache_entries] => Array
( [1] => Array
( ["total_cache_uptime"] => int(0)
["is_local_cache"] => bool(false)
["total_item_count"] => int(1)
["total_hit_count"] => int(3)
["total_miss_count"] => int(1)
["ucache_entries"] => Array(1)
( [1] => Array(6)
(
[key_name] => green
[value_type] => long
[is_session] => 0
[ttl_seconds] => 0
[age_seconds] => 0 [hitcount] => 3
["key_name"] => string(5) "green"
["value_type"] => string(4) "long"
["is_session"] => int(0)
["ttl_seconds"] => int(0)
["age_seconds"] => int(0)
["hitcount"] => int(3)
)
)
)