note 99312 added to function.var-export
| From: | infoatlinux | Date: | Tue, 10 Aug 2010 14:19:12 +0000 |
| Subject: | note 99312 added to function.var-export | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-171516@lists.php.net to get a copy of this message | ||
@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>";
}
?>
----
Server IP: 69.147.83.197
Probable Submitter: 80.153.146.182
----
Manual Page -- http://www.php.net/manual/en/function.var-export.php
Edit -- https://master.php.net/note/edit/99312
Del: integrated -- https://master.php.net/note/delete/99312/integrated
Del: useless -- https://master.php.net/note/delete/99312/useless
Del: bad code -- https://master.php.net/note/delete/99312/bad+code
Del: spam -- https://master.php.net/note/delete/99312/spam
Del: non-english -- https://master.php.net/note/delete/99312/non-english
Del: in docs -- https://master.php.net/note/delete/99312/in+docs
Del: other reasons-- https://master.php.net/note/delete/99312
Reject -- https://master.php.net/note/reject/99312
Search -- https://master.php.net/manage/user-notes.php