note 72056 added to function.var-dump
| From: | eric at ITCbrandt dot comswapITC/brandt | Date: | Sun, 31 Dec 2006 06:57:27 +0000 |
| Subject: | note 72056 added to function.var-dump | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-121126@lists.php.net to get a copy of this message | ||
Very new to this and really appreciate the contributions of everyone. I really rely on this site .
BigueNique inspired me with the last post.
I am writing an application that is WAY above my head and am buried in pages of variables and
objects. I really wanted an easier way to read them.
I had two problems - 1. The lists were too long; 2. It was hard to tell where one ended and the
other began; 3. By the time I saw my rendered forms, I forgot where my variable listing was. (Yeah,
I can't count, get over it - now you know why this is so hard for me)
I had a variable dumping routine that worked better than the print_r, but elegant_dump was MUCH
nicer.
I added a little bit of CSS and javascript to mine, and I have a really quick and easy way to
display a colored title with a toggle control to expand or contract the variable structure and
contents.
It might be too rudimentary for most of you guys, and I'm not answering anyone's question
specifically, but perhaps this creative implementation will make someone's life a little
easier. At a minimum, It might be a good example of mixing in the different languages which was
initially a big challenge for me.
simply call: dump_e($var,[$TracerMessage],[$ColorBackground],[$ColorContentBox]);
I have explained my functions as well as posted the required code to make it work here: http://tech.brandtitc.com/dump_e.php
It is a little too long to post in this venue.
Best Regards.
----
Server IP: 66.163.161.117
Probable Submitter: 72.250.133.237
----
Manual Page -- http://www.php.net/manual/en/function.var-dump.php
Edit -- https://master.php.net/note/edit/72056
Del: integrated -- https://master.php.net/note/delete/72056/integrated
Del: useless -- https://master.php.net/note/delete/72056/useless
Del: bad code -- https://master.php.net/note/delete/72056/bad+code
Del: spam -- https://master.php.net/note/delete/72056/spam
Del: non-english -- https://master.php.net/note/delete/72056/non-english
Del: in docs -- https://master.php.net/note/delete/72056/in+docs
Del: other reasons-- https://master.php.net/note/delete/72056
Reject -- https://master.php.net/note/reject/72056
Search -- https://master.php.net/manage/user-notes.php