(PECL memcached >= 0.1.0)
Memcached::prependByKey — Prepend data to an existing item on a specific server
$server_key
, string $key
, string $value
) : bool
锟斤拷锟剿匡拷锟斤拷使锟斤拷server_key
锟斤拷锟缴的斤拷key
映锟戒到指锟斤拷锟斤拷锟斤拷锟斤拷锟解,
Memcached::prependByKey()锟节癸拷锟斤拷锟较碉拷同锟斤拷Memcached::prepend()锟斤拷
(锟斤拷注: 锟斤拷锟斤拷*ByKey系锟叫凤拷锟斤拷锟斤拷$server_key锟侥癸拷锟斤拷原锟斤拷锟斤拷锟斤拷锟絘ddByKey锟斤拷锟斤拷锟侥碉拷)
server_key
锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷识锟金储达拷投锟饺≈碉拷姆锟斤拷锟斤拷锟斤拷锟矫伙拷薪锟绞碉拷实募锟斤拷锟缴拷械锟斤拷锟斤拷锟斤拷锟斤拷目锟斤拷锟斤拷锟斤拷锟节撅拷锟斤拷锟斤拷锟斤拷一锟斤拷 memcached 锟斤拷锟斤拷锟斤拷通锟斤拷时锟斤拷锟斤拷散锟斤拷为锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷使锟矫癸拷锟斤拷锟斤拷锟斤拷目锟节碉拷一锟侥凤拷锟斤拷锟较憋拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟竭讹拷锟截诧拷锟斤拷锟斤拷效锟绞★拷
key
要锟斤拷前追锟斤拷锟斤拷锟捷碉拷元锟截碉拷key锟斤拷
value
要追锟接碉拷锟街凤拷锟斤拷锟斤拷
锟缴癸拷时锟斤拷锟斤拷 TRUE
锟斤拷 锟斤拷锟斤拷锟斤拷失锟斤拷时锟斤拷锟斤拷 FALSE
锟斤拷
锟斤拷锟絢ey锟斤拷锟斤拷锟节o拷Memcached::getResultCode()锟斤拷锟斤拷Memcached::RES_NOTSTORED
锟斤拷