-
Notifications
You must be signed in to change notification settings - Fork 325
Closed
Description
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
bondeg, Aliance, xjewer and maszd
Metadata
Metadata
Assignees
Labels
No labels