The result for both memcahce
and memcached
different. Actually i'm using laravel 5.3
which is using memcached. i'm not getting result properly.
$em = new Memcached();
$em->addServer('127.0.0.1', 11211);
$em->get('test_key_1');
Result => false
$m = new Memcache();
$m->addServer('127.0.0.1', 11211);
$m->get('test_key_1');
Result =>[
[ 'user' => 12], [ 'user' => 13],
]
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2z0kYIe
via IFTTT
Aucun commentaire:
Enregistrer un commentaire