跳到主要内容

add

常驻数据:为key的当前值加上一个指定的值,如果key的当前值为nil时set为指定值

声明

mixed add(string key, mixed val)

参数

参数名描述
keykey
val增加值

返回值

操作后的key值

使用方式

返回文档