Re: [PHP-XML-DEV] serializing DomDocument objects.

[email protected] (neill)
Newsgroups php.xml.dev
Message-ID <[email protected]>
On Fri, 26 Sep 2003 12:36:16 +0200, Derick Rethans wrote:

> On Fri, 26 Sep 2003, neill wrote:
> 
>> but wouldn't
>> 
>> $domDoc = unserialize(file_get_contents('file'))
>> 
>> be faster than doing
>> 
>> $domDoc = new DomDocument()
>> $domDoc->load('foo.xml')
> 
> no, it wouldn't change much. Also, the serialization routines can NOT 
> serialize internal classes that easily.
> 

ok. fair enough.

-- 



riot.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.