Simple (?) var_dump question

From: Date: Fri, 12 Sep 2003 15:31:51 +0000
Subject: Simple (?) var_dump question
Groups: php.general 
Request: Send a blank email to php-general+get-162425@lists.php.net to get a copy of this message
Hi. I'm new to the list so sorry if this has already been asked before .... I want to find a way to capture the var_dump output as a string so I can write it to a log file ... (for example): $logger->debug(var_dump($foo)); So, the above line would get a "var_dump stringified" version of $foo and pass it to my logger's debug method. Thanks in advance for any help. Tom.

« previous php.general (#162425) next »