From: "Wouter van Vliet" <[EMAIL PROTECTED]>
> aiaiaia ... you are all pretty right, for another function was forged. > var_export has a "return" flag as second argument where print_r and var_dump > both have other variables as second (and third, and fourth, and sixth) .. > > So you can do: $logger->debug(var_export($Var), true)); which will log the > var to your log. print_r() is also a BOOL for the second argument that controls whether a value is returned or displayed. The only difference between print_r() and var_export() produces valid PHP code. The output from var_export() can only be captured with output buffering. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php