Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001072

[PHP] $str = var_dump() From: elias (elias_bachaalany <email protected>)
Date: 07/27/01

Hello!

Actually, var_dump() dumps directly the structure/content of a variable to
the browser...
Now is there is anyway to capture this output and assign it to a string and
then store it to a file?
for logging/debugging purpose?

$str = var_dump($arrays);

echo "on [time] [date] varname dump=$str";

//elias

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>