## Example

`

     bool wincache_ucache_set ( mixed $key , mixed $value [, int $ttl = 0 ] )

`

## Description

bool wincache_ucache_set ( array $values [, mixed $unused [, int $ttl = 0 ]] )
Adds a variable in user cache. Overwrites a variable if it already exists in the cache. The added or updated 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.

## Return Values

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.