Re: var_dump_html()

From: Date: Thu, 03 Jul 2003 15:09:06 +0000
Subject: Re: var_dump_html()
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-3198@lists.php.net to get a copy of this message
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/ -------------------------------------------------------------------------

« previous php.internals (#3198) next »