Last active
October 2, 2017 10:53
-
-
Save ebuildy/b88961ca1364008d5f1109cce3b88116 to your computer and use it in GitHub Desktop.
Test memcached
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$m = new \Memcached(); | |
$m->addServer(getenv("MEMCACHED_HOST"), 11212); | |
var_dump($m->set('toto', ["toto" => "hello world!"], 3600)); | |
var_dump($m->get('toto')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment