PHP code example of tasofen / allkeys-memcached
1. Go to this page and download the library: Download tasofen/allkeys-memcached library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
tasofen / allkeys-memcached example snippets
$m = new tasofen\FixMemcached();
$m->addServer('127.0.0.1', 11211);
$m->set('key-1', 'value-1');
$m->set('key-2', 'value-2');
print_r($m->getAllKeys());