note 109947 deleted from function.ob-start by aharvey
| From: | aharvey@php.net | Date: | Wed, 05 Sep 2012 02:27:00 +0000 |
| Subject: | note 109947 deleted from function.ob-start by aharvey | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-190508@lists.php.net to get a copy of this message | ||
Note Submitter: sideshowAnthony at googlemail dot com
----
You can use ob to neaten a var_dump() of big arrays:
<pre>
<?
ob_start();
var_dump($debug);
echo str_replace("=>\n ", "=>", ob_get_clean());
?>
</pre>