note 10479 deleted from function.var-dump by jimw
| From: | jimw@php.net | Date: | Sat, 08 Dec 2001 23:58:27 +0000 |
| Subject: | note 10479 deleted from function.var-dump by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-22400@lists.php.net to get a copy of this message | ||
With PHP4 you can now put the var_dump output into a string using the output buffer functions.
So to dump the variable $array into $output you can use
ob_start();
var_dump($array);
$output = ob_get_contents();
ob_end_clean();