跳到主要内容

insert

当指定键不存在,插入一个指定的键

声明

bool insert(string key, mixed value)

参数

参数名描述
key键名
value

返回值

true: 成功;false: 失败

使用方式

返回文档