litememcache
litememcache copied to clipboard
LiteMemcache is the most lightweight Memcached client written in PHP
Results
2
litememcache issues
Sort by
recently updated
recently updated
newest added
I am unable to retrieve the full value below after storing it. It is storing fine because I can dump full value with memcached-tool. However, LiteMemcache truncates the value. When...
``` public function get($key) { fwrite($this->_socket, "get $key\r\n"); if(sscanf(fgets($this->_socket), 'VALUE %s %d %d', $key, $flag, $len)) { $value = fread($this->_socket, $len); fread($this->_socket, 7); return $value; } return false; } ```