note 99312 deleted from function.var-export by danbrown
| From: | danbrown@php.net | Date: | Tue, 10 Aug 2010 14:19:58 +0000 |
| Subject: | note 99312 deleted from function.var-export by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-171517@lists.php.net to get a copy of this message | ||
Note Submitter: info at linux[-]web[-]development dot de
----
@john dot risken at gmail dot com
Why not use the HTML tag that does the formatting in those cases: <pre>
It takes the preformatted( with \r's, \n's, \t's and so on) text and shows it in a
pretty version on your screen.
if you make a function I would rather say
<?php
function pretty_print($elem)
{
echo "<pre>";
var_dump($elem);
echo "</pre>";
}
?>