(PECL memcached >= 0.1.0)
Memcached::getByKey — 锟斤拷锟截讹拷锟侥凤拷锟斤拷锟斤拷锟斤拷锟斤拷元锟斤拷
$server_key
, string $key
[, callback $cache_cb
[, float &$cas_token
]] ) : mixed
Memcached::getByKey()锟斤拷锟剿匡拷锟斤拷通锟斤拷server_key
锟斤拷锟斤拷锟斤拷锟缴碉拷指锟斤拷key
锟斤拷映锟斤拷姆锟斤拷锟斤拷锟斤拷猓� 锟节癸拷锟斤拷锟较碉拷同锟斤拷Memcached::get()锟斤拷(锟斤拷注: 锟斤拷锟斤拷*ByKey系锟叫凤拷锟斤拷锟斤拷$server_key锟侥癸拷锟斤拷原锟斤拷锟斤拷锟斤拷锟絘ddByKey锟斤拷锟斤拷锟侥碉拷)
server_key
锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷识锟金储达拷投锟饺≈碉拷姆锟斤拷锟斤拷锟斤拷锟矫伙拷薪锟绞碉拷实募锟斤拷锟缴拷械锟斤拷锟斤拷锟斤拷锟斤拷目锟斤拷锟斤拷锟斤拷锟节撅拷锟斤拷锟斤拷锟斤拷一锟斤拷 memcached 锟斤拷锟斤拷锟斤拷通锟斤拷时锟斤拷锟斤拷散锟斤拷为锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷使锟矫癸拷锟斤拷锟斤拷锟斤拷目锟节碉拷一锟侥凤拷锟斤拷锟较憋拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟竭讹拷锟截诧拷锟斤拷锟斤拷效锟绞★拷
key
要抓取锟斤拷元锟截碉拷key锟斤拷
cache_cb
通锟斤拷锟斤拷锟斤拷氐锟斤拷锟斤拷锟斤拷锟�NULL
.
cas_token
锟斤拷锟斤拷锟斤拷元锟截碉拷CAS锟斤拷锟街碉拷锟�
锟斤拷锟截存储锟节凤拷锟斤拷说锟皆拷氐锟街碉拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟铰凤拷锟斤拷FALSE
锟斤拷
锟斤拷锟絢ey锟斤拷锟斤拷锟节o拷Memcached::getResultCode()锟斤拷锟斤拷Memcached::RES_NOTFOUND
锟斤拷