PHP code example of clickalicious / memcached.php
1. Go to this page and download the library: Download clickalicious/memcached.php 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/ */
clickalicious / memcached.php example snippets
$client = new \Clickalicious\Memcached\Client('127.0.0.1');
// Set a value of type float
$client->set('foo', 1.00);
// Returns 1.00 as PHP's type float!
$client->get('foo');