From 2d3eabbfd76aca7d61ba0bf573e516a68fd03775 Mon Sep 17 00:00:00 2001 From: Ruslan Yakushev Date: Thu, 4 Mar 2010 18:54:41 +0000 Subject: [PATCH] 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 --- .../functions/wincache-ucache-info.xml | 33 +++++++++++-------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/reference/wincache/functions/wincache-ucache-info.xml b/reference/wincache/functions/wincache-ucache-info.xml index 898824d7ce..162203aa39 100644 --- a/reference/wincache/functions/wincache-ucache-info.xml +++ b/reference/wincache/functions/wincache-ucache-info.xml @@ -35,6 +35,12 @@ total_item_count - total number of elements that are currently in the user cache + + + is_local_cache - true is the cache metadata is for a local cache instance, + false if the metadata is for the global cache + + total_hit_count - number of times the data has been served from the cache @@ -47,7 +53,7 @@ - file_entries - an array that contains the information about all the cached items: + ucache_entries - an array that contains the information about all the cached items: @@ -116,19 +122,20 @@ print_r(wincache_ucache_info()); 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) ) ) )