关于ci 3.0的memcache 自增疑问
代码如下,为什么测试没有效果?public function memtest(){
$this->load->driver('cache', array('adapter' => 'memcached'));
$this->cache->memcached->save('foo',10);
$this->cache->increment('foo');
// $this->cache->increment('foo',2);
echo $this->cache->memcached->get('foo');
}
页:
[1]