How do I use the $cas_token of php's Memcached::get?

< H1 > which god can tell php how to use the $cas_token of Memcached::get? Better give an example! < / H1 >

public mixed Memcached::get ( string $key [, callback $cache_cb [, float &$cas_token ]] )
Memcached::get() key cas_token : CASCAS Memcached::cas()  cache_cbRead-through caching callback 




key 
key 

cache_cb 
 NULL . 

cas_token 
CAS 


Jun.20,2021

is passed in as the third parameter. The second parameter is the callback function or null.

Menu