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.