Skip to content

PHP memcached client class, for simulate php_memcached.dll for windows platform.

Notifications You must be signed in to change notification settings

asamek/memcached-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Memcached Client (simulator)

As there has no php memcached extension for windows now, it's difficult to build develop envionment, so this class will be helpful.

Inspried by: http://github.com/joonas-fi/xslib-memcached

Usage:

Just as php_memcached extension, new Memcached object and etc.

$m = new Memcached();
$m->addServer('localhost', 11211);

$m->set('foo', 'bar');
$m->get('foo');

Supported method:

  • addServer
  • addServers
  • delete
  • get
  • getOption
  • getResultCode
  • getResultMessage
  • getServerList
  • set
  • setOption
  • setOptions

Need disable memcached extension of PHP to run PHPUnit testcase.

About

PHP memcached client class, for simulate php_memcached.dll for windows platform.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%