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

"How to display arguments name (variable name) in krumo listing" #2

Closed
kktsvetkov opened this issue Nov 21, 2017 · 2 comments
Closed
Assignees

Comments

@kktsvetkov
Copy link
Owner

This is from a request on SourceForge.net:

Right now, if you do krumo($_SESSION, $_GET, $_POST); you will get 3 listings but all will be displayed as "...(Array, x elements)". Instead of those ... I think it would be much more useful to have the name of the array.
Right now, it is very confusing trying to make out which is which.
Thank you!

https://sourceforge.net/p/krumo/discussion/686810/thread/48d07929/

@kktsvetkov kktsvetkov self-assigned this Nov 21, 2017
@kktsvetkov
Copy link
Owner Author

I think the most convenient way to do is to use the row from the source code where Krumo was called. I think it is a good tradeoff -- you get to see the code that triggered the Krumo was called, and along with that you see the arguments used.

Potentially this will break if you have this on multiple rows, e.g.

krumo(1,
2);

But again -- I think it is going to be a good tradeoff and easy to implement.

@kktsvetkov
Copy link
Owner Author

Released at 0.3.2

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

1 participant