Var_Dump feedback

From: Date: Tue, 17 Sep 2002 15:01:16 +0000
Subject: Var_Dump feedback
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-9121@lists.php.net to get a copy of this message
Hi, So, I started to use the Text output feature of Var_Dump. It has a funny notion of what text output is, e.g.: $dumper = new VarDump(); // defaults to text output $dumper->display($arry); yields: <pre> command String[12] (<font color="red">create_table</font>) table_name String[6] (<font color="red">albums</font>) column_defs Array(6) + name Array(2) | | + type String[7] (<font color="red">varchar</font>) | + length String[2] (<font color="red">60</font>) ...etc In spite of the <pre> tags (or maybe because of them!), it still looks like HTML to me ;) I think of text as being something you can display in a console. Could you cleanup this to consist only of plain text? Maybe this text/html combination could be an option. Also, there's a missing '// }}}' around _generateFontTags(). Regards, - Brent

« previous php.pear.dev (#9121) next »