note 90803 deleted from function.print-r by danbrown
| From: | danbrown@php.net | Date: | Mon, 11 May 2009 12:47:33 +0000 |
| Subject: | note 90803 deleted from function.print-r by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-154440@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
in response to sebasg37 at gmail dot com:
Instead of capturing the output using buffers, you can simply use the second parameter:
$output = print_r($variable, true);
This will put the output of print_r into the variable for later use.