Re: serializing DomDocument objects.
| From: | Derick Rethans | Date: | Fri, 26 Sep 2003 10:36:16 +0000 |
| Subject: | Re: serializing DomDocument objects. | ||
| References: | 1 2 3 | Groups: | php.xml.dev |
| Request: | Send a blank email to php-xml-dev+get-212@lists.php.net to get a copy of this message | ||
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/
-------------------------------------------------------------------------