Can you store a PHP Array in Memcache?
memcached, php
Solution
Yes.
Memcache::set('someKey', array(
'user_id' => 1,
'url' => 'http://',
'name' => 'Dave'
));
Please see the documentation for very detailed examples.
Problem
Can you store an Array in Memcache? I would like to store; - A user ID number - A user's photo URL - A users name Together as an array, someone told me you could and then someone told me you couldn't Which is it?