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/
-------------------------------------------------------------------------