php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #77813 [ZH] Memcached::increment translation error
Submitted: 2019-03-28 08:05 UTC Modified: 2019-03-28 08:42 UTC
From: cwk at meitu dot com Assigned:
Status: Open Package: Translation problem
PHP Version: Irrelevant OS: all
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
41 + 23 = ?
Subscribe to this entry?

 
 [2019-03-28 08:05 UTC] 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);


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-03-28 08:42 UTC] cmb@php.net
-Summary: Memcached::increment chinese translation error +Summary: [ZH] Memcached::increment translation error
 [2019-03-28 08:42 UTC] cmb@php.net
-Package: *Languages/Translation +Package: Translation problem
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Jul 21 17:01:27 2019 UTC