Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3199 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48836 invoked from network); 3 Jul 2003 15:14:53 -0000 Received: from unknown (HELO mx.tossell.net) (66.92.170.96) by pb1.pair.com with SMTP; 3 Jul 2003 15:14:53 -0000 Received: from localhost (ip1.tossell.net [66.92.170.96]) by mx.tossell.net (Postfix) with ESMTP id ADE1939CB9 for ; Thu, 3 Jul 2003 11:14:52 -0400 (EDT) Received: from ciw1.ciw.edu (ciw1.ciw.edu [192.70.249.30]) by mail.tossell.net (IMP) with HTTP for ; Thu, 3 Jul 2003 11:14:52 -0400 Message-ID: <1057245292.3f04486c7d451@mail.tossell.net> Date: Thu, 3 Jul 2003 11:14:52 -0400 To: internals@lists.php.net References: <1057244229.3291.250.camel@mbe> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 Subject: Re: [PHP-DEV] var_dump_html() From: ken@tossell.net (Ken Tossell) Quoting Derick Rethans : > 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 "
". var_export($var, TRUE). "
"; > > 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();