roundcubemail/program/lib/Roundcube/rcube_session_memcache.php
public function read($key)
    {
        if ($value = $this->memcache->get($key)) {
            $arr = unserialize($value);
            $this->changed = $arr['changed'];
            $this->ip      = $arr['ip'];
            $this->vars    = $arr['vars'];
            $this->key     = $key;
        }

        if ($this->debug) {
            $this->debug('get', $key, $value);
        }

        return $this->vars ?: '';
    }
public function read($key)
    {
        if ($value = $this->memcache->get($key)) {
            $arr = unserialize($value);
            $this->changed = $arr['changed'];
            $this->ip      = $arr['ip'];
            $this->vars    = $arr['vars'];
            $this->key     = $key;
        }

        if ($this->debug) {
            $this->debug('get', $key, $value);
        }

        return $this->vars ?: '';
    }
public function read ( $ key ) { if ( $ value = $ this -> memcache -> get ( $ key ) ) { $ arr = unserialize ( $ value ) ; $ this -> changed = $ arr [ 'changed' ] ; $ this -> ip = $ arr [ 'ip' ] ; $ this -> vars = $ arr [ 'vars' ] ; $ this -> key = $ key ; } if ( $ this -> debug ) { $ this -> debug ( 'get' , $ key , $ value ) ; } return $ this -> vars ? : '' ; }
Read session data from memcache

@param $key
@return null|string
Read session data from memcache