bool wincache_ucache_add ( string $key , mixed $value [, int $ttl = 0 ] )
bool wincache_ucache_add ( array $values [, mixed $unused [, int $ttl = 0 ]] )
Adds a variable in user cache, only if this variable doesn't already exist in the cache. The added variable remains in the user cache unless its time to live expires or it is deleted by using wincache_ucache_delete() or wincache_ucache_clear() functions.
If key is string, the function returns TRUE on success and FALSE on failure. If key is an array, the function returns: If all the name => value pairs in the array can be set, function returns an empty array; If all the name => value pairs in the array cannot be set, function returns FALSE; If some can be set while others cannot, function returns an array with name=>value pair for which the addition failed in the user cache.