In my opinion is good idea but Derick has rason, is better if var_dump_html
colorise the output :-)
----- Original Message -----
From: "Marco Tabini" <[EMAIL PROTECTED]>
To: "Derick Rethans" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, July 03, 2003 5:13 PM
Subject: Re: [PHP-DEV] var_dump_html()


> My only consideration is that most people use var_dump in a web
> environment--hence it seems counterintuitive to have to enclose the
> function in additional HTML tags.
>
> Cheers!
>
> On Thu, 2003-07-03 at 11:09, Derick Rethans wrote:
> > 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
> --
>
> Marco Tabini
> President
>
> Marco Tabini & Associates, Inc.
> 28 Bombay Avenue
> Toronto, ON M3H 1B7
> Canada
>
> Phone: (416) 630-6202
> Fax: (416) 630-5057
> Web: http://www.tabini.ca
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to