note 95745 added to function.var-export
| From: | dracekatgmaildotcom at osu1 dot php dot net | Date: | Tue, 19 Jan 2010 21:16:02 +0000 |
| Subject: | note 95745 added to function.var-export | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-165119@lists.php.net to get a copy of this message | ||
to john dot risken: a slightly nicer way is using a PRE tag, it keeps whitespace formatting and it
doesnt mess up the html code (you may need it for copying)
<?php
function nice_export($var){
echo "<pre>";
var_export($var);
echo "</pre>";
}
?>
----
Server IP: 69.147.83.197
Probable Submitter: 89.176.198.50
----
Manual Page -- http://www.php.net/manual/en/function.var-export.php
Edit -- https://master.php.net/note/edit/95745
Del: integrated -- https://master.php.net/note/delete/95745/integrated
Del: useless -- https://master.php.net/note/delete/95745/useless
Del: bad code -- https://master.php.net/note/delete/95745/bad+code
Del: spam -- https://master.php.net/note/delete/95745/spam
Del: non-english -- https://master.php.net/note/delete/95745/non-english
Del: in docs -- https://master.php.net/note/delete/95745/in+docs
Del: other reasons-- https://master.php.net/note/delete/95745
Reject -- https://master.php.net/note/reject/95745
Search -- https://master.php.net/manage/user-notes.php