Re: XML_Unserializer

From: Date: Thu, 23 Feb 2006 16:37:26 +0000
Subject: Re: XML_Unserializer
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-23108@lists.php.net to get a copy of this message
On 2/23/06, Chris Boget <chris.boget@wild.net> wrote: > On the following page (which was very helpful, I might add): > > > http://www.melonfire.com/community/columns/trog/article.php?id=244&page=6 > > it shows how you can use XML_Serializer to seralize a PHP object into an XML > document consisting of the object's properties. I was looking to see if > XML_Unserializer can do the reverse but it appears that it only stores the > unserialized data into a stdClass object and not an object of the original > class. Is it possible to do this using XML_Unserializer? If so, could > someone point me to a resource where I can read more about it? I did some > searching around on google but wasn't able to find anything definitive. > Did you make sure to define the class before unserializing it? (i.e. require the file which defines the class) -- Justin Patrin

« previous php.pear.general (#23108) next »