> In the test function, if I just serialize the $xml, return it and then call > xmldoc_open_mem on the unserialized return string, it works fine. > But it doesn't like it if I do the above. I'm getting the error: > > Warning: dump_mem() [function.dump-mem]: Underlying object missing > or of invalid type > Warning: dump_mem() [function.dump-mem]: Cannot fetch DOM object > > Why isn't the serialization of the DOM object not working that way?
I just had a thought... Is it because the DOM structure of the XML document is stored only in the memory for the page? And the pointer to that memory isn't transferred when the DOM object is serialized, stored and retrieved? Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php