Doc #77813 [Com]: [ZH] Memcached::increment translation error

From: Date: Tue, 01 Sep 2020 05:41:20 +0000
Subject: Doc #77813 [Com]: [ZH] Memcached::increment translation error
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17849@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77813&edit=1 ID: 77813 Comment by: avenger@php.net Reported by: cwk at meitu dot com Summary: [ZH] Memcached::increment translation error Status: Closed Type: Documentation Problem Package: Translation problem Operating System: all PHP Version: Irrelevant Assigned To: avenger Block user comment: N Private report: N New Comment: fixed. Previous Comments: ------------------------------------------------------------------------ [2020-09-01 05:41:00] avenger@php.net This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. ------------------------------------------------------------------------ [2019-03-28 08:05:01] cwk at meitu dot com Description: ------------ --- From manual page: https://php.net/memcached.increment --- Memcache::increment chinese translation error error text: Memcached::increment()将一个数值元素增加参数offset指定的大小。 如果元素的值不是数值类型,将其作为0处理。如果元素不存在Memcached::increment()失败。 true text: Memcached::increment()将一个数值元素增加参数offset指定的大小。 如果元素的值不是数值类型,将返回错误。如果元素不存在会设置成initial_value的值。 Test script: --------------- <?php $m = new Memcached(); $m->addServer('localhost', 11211); $n = $m->increment('counter', 10); var_dump($n); ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=77813&edit=1

« previous php.doc.bugs (#17849) next »