跳到主要内容

put

设置指定key的值

声明

array put(string key, mixed value, int lease_id = 0)

参数

参数名描述
keykey名称
value

返回值

[ 操作是否成功, 旧值 ]

使用方式

返回文档