note 90167 added to function.xml-parse
| From: | frow05 at gmail dot com | Date: | Wed, 08 Apr 2009 18:16:50 +0000 |
| Subject: | note 90167 added to function.xml-parse | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-152971@lists.php.net to get a copy of this message | ||
xml2array() function below is inconsistent with the default values given. with deep XML structures,
the attributes fail to be represented in the result array correctly. i've changed:
$priority='', and the result array is a bit larger, but the attributes are correctly
represented.
thanks for the function though, works great for what I need it for.
----
Server IP: 209.41.74.194
Probable Submitter: 66.16.158.235
----
Manual Page -- http://www.php.net/manual/en/function.xml-parse.php
Edit -- https://master.php.net/note/edit/90167
Del: integrated -- https://master.php.net/note/delete/90167/integrated
Del: useless -- https://master.php.net/note/delete/90167/useless
Del: bad code -- https://master.php.net/note/delete/90167/bad+code
Del: spam -- https://master.php.net/note/delete/90167/spam
Del: non-english -- https://master.php.net/note/delete/90167/non-english
Del: in docs -- https://master.php.net/note/delete/90167/in+docs
Del: other reasons-- https://master.php.net/note/delete/90167
Reject -- https://master.php.net/note/reject/90167
Search -- https://master.php.net/manage/user-notes.php