Re: var_dump_html()
| From: | Ken Tossell | Date: | Thu, 03 Jul 2003 15:14:52 +0000 |
| Subject: | Re: var_dump_html() | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-3199@lists.php.net to get a copy of this message | ||
Quoting Derick Rethans <derick@php.net>:
> On Thu, 3 Jul 2003, Marco Tabini wrote:
>
> > Not sure if this interest anyone, but the attached patch adds a function
> > called var_dump_html() that performs the same functionality as
> > var_dump(), except that it outputs HTML instead of plain text.
> > var_dump() is a bit impractical to use in a web environment, IMO.
>
> We already have three functions for dumping debug info (var_dump,
> var_export and print_r). The latter two can be used like:
>
> echo "<pre>". var_export($var, TRUE). "</pre>";
>
> I don't think that we should add another here.
I'm with you on this, specifically, but I'd like to see a dump function that can
do coloring. :-)
>
> regards,
> Derick
>
> --
> "Interpreting what the GPL actually means is a job best left to those
> that read the future by examining animal entrails."
> -------------------------------------------------------------------------
> Derick Rethans
> http://derickrethans.nl/
> International PHP Magazine
> http://php-mag.net/
> -------------------------------------------------------------------------
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Ken Tossell
ken at tossell dot net
http://www.kennyt.com/
washington, dc / gmt-4
world::free.capital();