note 39219 added to function.ob-get-contents

From: Date: Wed, 21 Jan 2004 04:48:59 +0000
Subject: note 39219 added to function.ob-get-contents
Groups: php.notes 
Request: Send a blank email to php-notes+get-63916@lists.php.net to get a copy of this message
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. ---- Manual Page -- http://www.php.net/manual/en/function.ob-get-contents.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+39219 Delete -- http://master.php.net/manage/user-notes.php?action=delete+39219&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+39219&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#63916) next »