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

[email protected] (Derick Rethans)
Newsgroups php.xml.dev
Message-ID <[email protected]>
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.

Derick

-- 
"Interpreting what the GPL actually means is a job best left to those
                    that read the future by examining animal entrails."
-------------------------------------------------------------------------
 Derick Rethans                                 http://derickrethans.nl/ 
 International PHP Magazine                          http://php-mag.net/
-------------------------------------------------------------------------
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.