Re: [PHP] Bug in SimpleXML?
- Date: Mon, 2 Jun 2008 16:43:39 -0600
- From: "Nathan Nobbe" <quickshiftin@xxxxxxxxx>
- Subject: Re: [PHP] Bug in SimpleXML?
On Mon, Jun 2, 2008 at 4:32 PM, Kyle Browning <nomspes@xxxxxxxxx> 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