php-ref icon indicating copy to clipboard operation
php-ref copied to clipboard

SimpleXMLElement attributes

Open marekpw opened this issue 10 years ago • 2 comments

For some reason, I cannot get properties inside the @attributes object of SimpleXMLElement objects to show.

http://i.imgur.com/84AtMfy.png

Kint and xdebug's var_dump can see them, I'm not sure about stock PHP var_dump. I love REF, it looks way more appealing and clean than Kint, but this problem makes it unusable for me.

Also, have you thought about adding support for backtracing? I would completely get rid of Kint in favor of this project if this was added :)

marekpw avatar Dec 31 '14 18:12 marekpw

It looks like Kint and var_dump display iterators as arrays after a certain point, while REF always displays them as what they really are - objects. Perhaps another section is needed here, where the string representation of the object is shown.

digitalnature avatar Aug 18 '15 16:08 digitalnature

I'd like this too!

prohtex avatar Apr 27 '19 11:04 prohtex