Re: Bug in SimpleXML?
| From: | Nathan Nobbe | Date: | Mon, 02 Jun 2008 22:43:39 +0000 |
| Subject: | Re: Bug in SimpleXML? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-274941@lists.php.net to get a copy of this message | ||
On Mon, Jun 2, 2008 at 4:32 PM, Kyle Browning <nomspes@gmail.com> wrote:
> I used both print_r and var_dump.
> Whats supported for ultimate nesting prints of values and keys?, or in
> objects words, properties and values.
>
cc'ng the list again..
well var_dump() and print_r() just arent supported for simplexml, per the
manual,
http://php.oregonstate.edu/manual/en/function.simplexml-element-attributes.php
*Note*: SimpleXML has made a rule of adding iterative properties to most
methods. They cannot be viewed using
var_dump()<http://php.oregonstate.edu/manual/en/function.var-dump.php>or
anything else which can examine objects.
basically, youre best bet w/ simplexml is asXML() ;)
-nathan