Re: Piping print_r output to a variable
| From: | Derick Rethans | Date: | Mon, 30 Jun 2003 19:38:46 +0000 |
| Subject: | Re: Piping print_r output to a variable | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-153468@lists.php.net to get a copy of this message | ||
On Mon, 30 Jun 2003, Mike Mannakee wrote:
> Hi all,
>
> Is there a way I can pipe the output of print_r() into a variable for
> further processing?
Use var_Export and set the 2nd parameter to TRUE
Derick
--
"Interpreting what the GPL actually means is a job best left to those
that read the future by examining animal entrails."
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
International PHP Magazine http://php-mag.net/
-------------------------------------------------------------------------