We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sample code:
$m = new Memcached(); $m->addServer('127.0.0.1', 11211); $result = $m->increment('keyNotExists', 1); // false $resultCode = $m->getResultCode(); // Memcached::RES_SUCCESS, in 2.2 version: Memcached::RES_NOTFOUND
PHP version:
PHP 7.0.5-1~dotdeb+8.1 (cli) ( NTS ) Copyright (c) 1997-2016 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
Configuration:
memcached support => enabled Version => 3.0.0b1 libmemcached version => 1.0.18 SASL support => yes Session support => yes igbinary support => yes json support => yes msgpack support => yes Directive => Local Value => Master Value memcached.sess_locking => 1 => 1 memcached.sess_lock_wait_min => 1000 => 1000 memcached.sess_lock_wait_max => 2000 => 2000 memcached.sess_lock_retries => 5 => 5 memcached.sess_lock_expire => 0 => 0 memcached.sess_binary_protocol => 1 => 1 memcached.sess_consistent_hash => 1 => 1 memcached.sess_number_of_replicas => 0 => 0 memcached.sess_randomize_replica_read => 0 => 0 memcached.sess_remove_failed_servers => 0 => 0 memcached.sess_server_failure_limit => 0 => 0 memcached.sess_connect_timeout => 0 => 0 memcached.sess_sasl_username => no value => no value memcached.sess_sasl_password => no value => no value memcached.sess_prefix => memc.sess. => memc.sess. memcached.sess_persistent => 0 => 0 memcached.sess_lock_wait => not set => not set memcached.sess_lock_max_wait => not set => not set memcached.compression_type => fastlz => fastlz memcached.compression_factor => 1.3 => 1.3 memcached.compression_threshold => 2000 => 2000 memcached.serializer => php => php memcached.store_retry_count => 2 => 2 memcached.default_consistent_hash => 0 => 0 memcached.default_binary_protocol => 0 => 0 memcached.default_connect_timeout => 0 => 0
The text was updated successfully, but these errors were encountered:
Merge pull request #247 from realmfoo/incrdecr_fix
a8ed240
Fix #243: Increment/decrement of an undefined key returns false with RES_SUCCESS
Closing, was fixed by #247
Sorry, something went wrong.
No branches or pull requests
Sample code:
PHP version:
Configuration:
The text was updated successfully, but these errors were encountered: