note 97091 added to function.var-export
| From: | hjanfield at gmail dot com | Date: | Thu, 01 Apr 2010 03:32:03 +0000 |
| Subject: | note 97091 added to function.var-export | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-167602@lists.php.net to get a copy of this message | ||
In response to the HTML formatting function just before this one, it tends to be a little simpler
just to use <pre> tags:
<?php
echo '<pre>'.var_export($cocktail_ingredients, true).'</pre>';
?>
Or use CSS - white-space: pre; in a tag's style attribute or in a CSS file.
----
Server IP: 216.235.13.26
Probable Submitter: 205.250.15.211
----
Manual Page -- http://www.php.net/manual/en/function.var-export.php
Edit -- https://master.php.net/note/edit/97091
Del: integrated -- https://master.php.net/note/delete/97091/integrated
Del: useless -- https://master.php.net/note/delete/97091/useless
Del: bad code -- https://master.php.net/note/delete/97091/bad+code
Del: spam -- https://master.php.net/note/delete/97091/spam
Del: non-english -- https://master.php.net/note/delete/97091/non-english
Del: in docs -- https://master.php.net/note/delete/97091/in+docs
Del: other reasons-- https://master.php.net/note/delete/97091
Reject -- https://master.php.net/note/reject/97091
Search -- https://master.php.net/manage/user-notes.php