Re: serializing DomDocument objects.

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

« previous php.xml.dev (#214) next »