Thanks so much. I got it.
On Sep 29, 2:37 pm, Brian Moon <[email protected]> wrote: > If the class does not exist when you try and fetch it out of memcached, > PHP does not know what the class should be. > > Seehttp://www.tanzilo.com/2008/12/31/php-serialization-unserialization-e... > for an explination of serializing classes in PHP. > > Brian.http://brian.moonspot.net > > On 9/29/11 2:10 PM, nguyendh wrote: > > > > > > > > > Can you please explain more and give me example codes ? > > > I am just a PHP beginner-intermidiate developer. > > > Thanks so much. > > > On Sep 29, 1:03 pm, Brian Moon<[email protected]> wrote: > >> yes, but the class definition must be loaded before you read the cache > >> or you must have an autoloader that will do on demand. > > >> Brian.http://brian.moonspot.net > > >> On 9/29/11 1:09 PM, nguyendh wrote: > > >>> Hi guys, > > >>> I have an array of a PHP object (e.g. instance of a class , say Client > >>> class). I save the whole array in Memcached. > > >>> When I retrieve the array from Memcached, I receive > >>> __incomplete_PHP_objects ? > > >>> Can I cache instances of class (object) in Memcached ? > > >>> I am using v1.4.5 on Cent OS
