No, you can't get all the items you've stored, or their keys. It's a cache, not a datastore.
What are you trying to accomplish? Perhaps there's a different way of doing it? /Henrik On Wed, Aug 8, 2012 at 3:29 PM, Rasmus Jonasson <[email protected] > wrote: > Can you somehow get all items from the Memcache class in php? > Im using unique integers to set an object to a memcahce object. > > Example: > $memcache = new Memcached(); > $memcache->addServer("localhost",$port); > $memcache->set(123, $object); > > How can i get all these objects? >
