diff --git a/reference/wincache/functions/wincache-ucache-add.xml b/reference/wincache/functions/wincache-ucache-add.xml index 55f52d348d..4510529554 100644 --- a/reference/wincache/functions/wincache-ucache-add.xml +++ b/reference/wincache/functions/wincache-ucache-add.xml @@ -43,7 +43,9 @@ Value of a variable to store. Value supports all data types except resources, such as file handles. This paramter is ignored if first argument is an array. A general guidance is to pass NULL - as value while using array as key. + as value while using array as key. If value is an + object, or an array containing objects, then the objects will be serialized. See + __sleep() for details on serializing objects. @@ -153,6 +155,7 @@ string(1) "6" wincache_ucache_exists wincache_ucache_meminfo wincache_ucache_info + __sleep() diff --git a/reference/wincache/functions/wincache-ucache-get.xml b/reference/wincache/functions/wincache-ucache-get.xml index 73155ed07e..b51ab70b61 100644 --- a/reference/wincache/functions/wincache-ucache-get.xml +++ b/reference/wincache/functions/wincache-ucache-get.xml @@ -29,7 +29,9 @@ The key that was used to store the variable in the cache. key is case sensitive. key can be an array of keys. In this case the return value will be an array of values of each element - in the key array. + in the key array. If an object, or an array containing objects, + is returned, then the objects will be unserialized. See + __wakeup() for details on unserializing objects. @@ -121,6 +123,7 @@ bool(true) wincache_ucache_exists wincache_ucache_meminfo wincache_ucache_info + __wakeup() diff --git a/reference/wincache/functions/wincache-ucache-set.xml b/reference/wincache/functions/wincache-ucache-set.xml index 3161a7e082..b3da272da2 100644 --- a/reference/wincache/functions/wincache-ucache-set.xml +++ b/reference/wincache/functions/wincache-ucache-set.xml @@ -44,7 +44,9 @@ Value of a variable to store. Value supports all data types except resources, such as file handles. This paramter is ignored if first argument is an array. A general guidance is to pass NULL - as value while using array as key. + as value while using array as key. If value is an + object, or an array containing objects, then the objects will be serialized. See + __sleep() for details on serializing objects. @@ -152,6 +154,7 @@ string(1) "6" wincache_ucache_exists wincache_ucache_meminfo wincache_ucache_info + __sleep()