note 109123 added to class.xmlreader

From: Date: Thu, 21 Jun 2012 21:18:37 +0000
Subject: note 109123 added to class.xmlreader
Groups: php.notes 
Request: Send a blank email to php-notes+get-188741@lists.php.net to get a copy of this message
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. ---- Server IP: 69.147.83.197 Probable Submitter: 121.98.82.15 ---- Manual Page -- http://www.php.net/manual/en/class.xmlreader.php Edit -- https://master.php.net/note/edit/109123 Del: integrated -- https://master.php.net/note/delete/109123/integrated Del: useless -- https://master.php.net/note/delete/109123/useless Del: bad code -- https://master.php.net/note/delete/109123/bad+code Del: spam -- https://master.php.net/note/delete/109123/spam Del: non-english -- https://master.php.net/note/delete/109123/non-english Del: in docs -- https://master.php.net/note/delete/109123/in+docs Del: other reasons-- https://master.php.net/note/delete/109123 Reject -- https://master.php.net/note/reject/109123 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#188741) next »