note 109123 deleted from class.xmlreader by danbrown
| From: | danbrown@php.net | Date: | Tue, 26 Jun 2012 13:58:50 +0000 |
| Subject: | note 109123 deleted from class.xmlreader by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-188840@lists.php.net to get a copy of this message | ||
Note Submitter: nik at nikrolls dot com
----
I have to agree with James Ellis here: why would you want to use XML Reader to create an associative
array? Use simplexml to create an acutal PHP object (which is a lot more reliable than a
multidimensional associative array anyway).
If your file is too big for simplexml then it's too big to be loaded into an array anyway, full
stop. In that case, use XML Reader as it was intended.