NewsFeaturesDownloadsDevelopmentSupportAbout Us

Package memcached


Detailed Description

This is the PHP client for memcached - a distributed memory cache daemon. More information is available at http://www.danga.com/memcached/

Usage example:

require_once 'memcached.php';

$mc = new memcached(array( 'servers' => array('127.0.0.1:10000', array('192.0.0.1:10010', 2), '127.0.0.1:10020'), 'debug' => false, 'compress_threshold' => 10240, 'persistant' => true));

$mc->add('key', array('some', 'array')); $mc->replace('key', 'some random string'); $val = $mc->get('key');

Author:
Ryan T. Dean <rtdean@cytherianage.net> -client
Version:
0.1.2
memcached client class implemented using (p)fsockopen()

Author:
Ryan T. Dean <rtdean@cytherianage.net> -client