wincache_ucache_cas

Example

 bool wincache_ucache_cas ( string $key , int $old_value , int $new_value ) 

Description

Compares the variable associated with the key with old_value and if it matches then assigns the new_value to it.

Return Values

Returns TRUE on success or FALSE on failure.