wincache_ucache_dec

(PECL wincache >= 1.1.0) Decrements the value associated with the key mixed wincache_ucache_dec ( string $key [, int $dec_by = 1 [, bool &$success ]] ) Decrements the value associated with the key by 1 or as specified by dec_by. Parameters: key The key that was used to store the variable in the cache. key is case sensitive. dec_by

wincache_ucache_exists

(PECL wincache >= 1.1.0) Checks if a variable exists in the user cache bool wincache_ucache_exists ( string $key ) Checks if a variable with the key exists in the user cache or not. Parameters: key The key that was used to store the variable in the cache. key is case sensitive. Returns: Returns TRUE if variable with the key exitsts, otherwis

wincache_ucache_inc

(PECL wincache >= 1.1.0) Increments the value associated with the key mixed wincache_ucache_inc ( string $key [, int $inc_by = 1 [, bool &$success ]] ) Increments the value associated with the key by 1 or as specified by inc_by. Parameters: key The key that was used to store the variable in the cache. key is case sensitive. inc_by

wincache_ucache_get

(PECL wincache >= 1.1.0) Gets a variable stored in the user cache mixed wincache_ucache_get ( mixed $key [, bool &$success ] ) Gets a variable stored in the user cache. Parameters: key 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 eleme

wincache_ucache_delete

(PECL wincache >= 1.1.0) Deletes variables from the user cache bool wincache_ucache_delete ( mixed $key ) Deletes the elements in the user cache pointed by key. Parameters: key The key that was used to store the variable in the cache. key is case sensitive. key can be an array of keys. Returns: Returns TRUE on success or FALSE on failure.

wincache_scache_info

(PECL wincache >= 1.1.0) Retrieves information about files cached in the session cache array wincache_scache_info ([ bool $summaryonly = false ] ) Retrieves information about session cache content and its usage. Parameters: summaryonly Controls whether the returned array will contain information about individual cache entries along with the session cache summary.

wincache_ucache_add

(PECL wincache >= 1.1.0) Adds a variable in user cache only if variable does not already exist in the cache bool wincache_ucache_add ( string $key, mixed $value [, int $ttl = 0 ] ) bool wincache_ucache_add ( array $values [, mixed $unused = NULL [, 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 l

wincache_ucache_cas

(PECL wincache >= 1.1.0) Compares the variable with old value and assigns new value to it bool wincache_ucache_cas ( string $key, int $old_value, int $new_value ) Compares the variable associated with the key with old_value and if it matches then assigns the new_value to it. Parameters: key The key that is used to store the variable in the cache. key is case sensitiv

wincache_scache_meminfo

(PECL wincache >= 1.1.0) Retrieves information about session cache memory usage array wincache_scache_meminfo ( void ) Retrieves information about memory usage by session cache. Returns: Array of meta data about session cache memory usage or FALSE on failure The array returned by this function contains the following elements: memory_total - amount of memory in bytes allocated for the ses

wincache_ucache_clear

(PECL wincache >= 1.1.0) Deletes entire content of the user cache bool wincache_ucache_clear ( void ) Clears/deletes all the values stored in the user cache. Returns: Returns TRUE on success or FALSE on failure. Examples: using wincache_ucache_clear() <?php wincache_ucache_set('green', 1); wincache_ucache_set('red