note 79730 added to function.simplexml-element-children
| From: | crescentfreshpot at yahoo dot com | Date: | Mon, 10 Dec 2007 16:16:57 +0000 |
| Subject: | note 79730 added to function.simplexml-element-children | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-133155@lists.php.net to get a copy of this message | ||
Just a warning that the iterable returned from children() contains the '@attributes' key,
which is "invisible" during a foreach but can be seen if using a different construct, such
as list()=each() or casting to an array before iterating w/ foreach.
----
Server IP: 69.147.83.197
Probable Submitter: 216.183.8.3
----
Manual Page -- http://www.php.net/manual/en/function.simplexml-element-children.php
Edit -- https://master.php.net/note/edit/79730
Del: integrated -- https://master.php.net/note/delete/79730/integrated
Del: useless -- https://master.php.net/note/delete/79730/useless
Del: bad code -- https://master.php.net/note/delete/79730/bad+code
Del: spam -- https://master.php.net/note/delete/79730/spam
Del: non-english -- https://master.php.net/note/delete/79730/non-english
Del: in docs -- https://master.php.net/note/delete/79730/in+docs
Del: other reasons-- https://master.php.net/note/delete/79730
Reject -- https://master.php.net/note/reject/79730
Search -- https://master.php.net/manage/user-notes.php