bodcarue 发表于 2016-6-15 15:42:23

关于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]
查看完整版本: 关于ci 3.0的memcache 自增疑问