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.

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

Reply via email to