note 39219 deleted from function.ob-get-contents by didou
| From: | didou@php.net | Date: | Wed, 21 Jan 2004 09:16:39 +0000 |
| Subject: | note 39219 deleted from function.ob-get-contents by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-63921@lists.php.net to get a copy of this message | ||
Note Submitter: in response to n dot jouanin at regie-fr
----
instead of using the funciton you wrote, and doing something like
$data = print_r_log( $arrayVar )
you can do the same thing by using the print_r function's scond parameter:
$data = print_r( $arrayVar, true );
that tells the functiont o return it as a string, not output it.