Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SimpleXMLElement attributes #26

Open
marekpw opened this issue Dec 31, 2014 · 2 comments
Open

SimpleXMLElement attributes #26

marekpw opened this issue Dec 31, 2014 · 2 comments

Comments

@marekpw
Copy link

marekpw commented Dec 31, 2014

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 :)

@digitalnature
Copy link
Owner

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.

@prohtex
Copy link

prohtex commented Apr 27, 2019

I'd like this too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants