wincache_ucache_cas

 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.

戻り値

Returns TRUE on success or FALSE on failure.