位置: 编程技术 - 正文

PHP:Memcached::incrementByKey()的用法_Memcached类

编辑:rootadmin
Memcached::incrementByKey

推荐整理分享PHP:Memcached::incrementByKey()的用法_Memcached类,希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:,内容如对您有帮助,希望把文章链接给更多的朋友!

(PECL memcached >= 2.0.0)

Memcached::incrementByKey — Increment numeric item&#;s value, stored on a specific server

说明 public int Memcached::incrementByKey ( string $server_key , string $key [, int $offset = 1 [, int $initial_value = 0 [, int $expiry = 0 ]]] )

Memcached::incrementByKey() increments a numeric item&#;s value by the specified offset. If the item&#;s value is not numeric, an error will result. Memcached::incrementByKey() will set the item to the initial_value parameter if the key doesn&#;t exist.

参数

server_key

本键名用于识别储存和读取值的服务器。没有将实际的键名散列到具体的项目,而是在决定与哪一个 memcached 服务器通信时将其散列为服务器键名。这使得关联的项目在单一的服务上被组合起来以提高多重操作的效率。

key PHP:Memcached::incrementByKey()的用法_Memcached类

The key of the item to increment.

offset

The amount by which to increment the item&#;s value.

initial_value

The value to set the item to if it doesn&#;t currently exist.

expiry

The expiry time to set on the item.

返回值

Returns new item&#;s value on success 或者在失败时返回 FALSE.

参见

Memcached::decrement() - 减小数值元素的值 Memcached::decrementByKey() - Decrement numeric item's value, stored on a specific server Memcached::increment() - 增加数值元素的值

PHP:Memcached::getAllKeys()的用法_Memcached类 Memcached::getAllKeys(PECLmemcached=2.0.0)Memcached::getAllKeysGetsthekeysstoredonalltheservers说明publicarrayMemcached::getAllKeys(void)Memcached::getAllKeys()querieseachmemcacheserverandretrievesa

PHP:Memcached::deleteMulti()的用法_Memcached类 Memcached::deleteMulti(PECLmemcached=2.0.0)Memcached::deleteMultiDeletemultipleitems说明publicboolMemcached::deleteMulti(array$keys[,int$time=0])Memcached::deleteMulti()deletesthearrayofkeysfromthes

PHP:Memcached::decrementByKey()的用法_Memcached类 Memcached::decrementByKey(PECLmemcached=2.0.0)Memcached::decrementByKeyDecrementnumericitemsvalue,storedonaspecificserver说明publicintMemcached::decrementByKey(string$server_key,string$key[,int$offs

标签: PHP:Memcached::incrementByKey()的用法_Memcached类

本文链接地址:https://www.jiuchutong.com/biancheng/280093.html 转载请保留说明!

上一篇:PHP:Memcached::isPristine()的用法_Memcached类

下一篇:PHP:Memcached::getAllKeys()的用法_Memcached类

  • 海关完税价格是什么
  • 领发票凭证做什么用
  • 无形资产可以一次性摊销吗?
  • 火车票丢失可以抵扣进项税额
  • 盈余公积未分配利润
  • 银行现金支票怎么填
  • 保证金抵扣货款分录
  • 折扣零售商是什么意思
  • 暂估入库产品行程影响所得税汇算清缴吗
  • 外购材料运输费怎么入账
  • 出口退税为0的产品明细
  • 地税注销流程
  • 增值税普票销项负数会影响报销吗
  • 销售合同印花税计税依据及税率
  • 固定资产管理的三大原则
  • 金税盘怎么清盘视频
  • 向分公司拨款如何填现金流量表
  • 借现金还银行怎么做账
  • 发票 发票联
  • 产品种类很多月末怎么结转生产成本
  • 购买商品未入库
  • 自定义输入是什么
  • 事业单位的费用
  • win10系统如何禁用驱动强制签名
  • 车辆购置税会计账务处理
  • PHP:xml_set_notation_decl_handler()的用法_XML解析器函数
  • php 面向对象
  • 支付广告费会计怎么做账
  • 支付公司保洁费未开发票
  • 财务费用利息收入怎么结转
  • PHP:curl_pause()的用法_cURL函数
  • PHP:highlight_file()的用法_misc函数
  • phpstan
  • 公司搬家费用怎么入账
  • ThinkPHP中html:list标签用法分析
  • easyui给下拉框赋值
  • 武陵山脉海拔
  • 利润表项目本期怎么算
  • 企业清算的会计科目
  • php抓取网页图片
  • php遍历目录
  • token验证器
  • 跨年度费用发票还可以抵扣所得税吗
  • iconfont原理
  • apache 反射工具类
  • 数学建模python 怎么用
  • mongodb常见问题
  • 个人代扣代缴社保分录
  • 现金股利和现金利润的区别
  • 新会计准则里的机械作业是什么
  • 固定资产与固定资产净值的区别
  • 长期股权投资其他资本公积
  • 利息收入填在汇算清缴哪里
  • 年度财务报告和年度报告
  • 出口退免税的税种包括增值税消费税企业所得税
  • 承包费会计处理
  • 确认借款无法收款怎么办
  • 有限责任公司减资的条件
  • 存货周期怎么计算
  • 以现金支付办公用品费440元
  • 税控盘全额抵扣怎么做分录
  • sql server如何进行安全设置
  • sqlserver的基本语句
  • sqlserver存储过程怎么查看
  • 怎么用老毛桃u盘装win7系统 老毛桃u盘装win7系统教程图解
  • xp蓝屏事件
  • linux 系统监控
  • win7开机显示一堆英文
  • win10开机图标就变乱
  • cocos2dx视频教程
  • perl怎么用
  • unity3d documentation
  • unity3d documentation
  • 告诉你什么是无限的恐怖日语
  • js如何动态添加class
  • 座机怎么查来电显示号码
  • 黄金消费税税率是多少
  • 昌吉市税务大厅
  • 北京摇号摇中了能过户吗
  • 账本遗失征管法处罚
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

    网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

    友情链接: 武汉网站建设