Change var_dump to return information
| From: | Dennis Sterzenbach | Date: | Sun, 28 Sep 2003 21:51:12 +0000 |
| Subject: | Change var_dump to return information | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-4600@lists.php.net to get a copy of this message | ||
Hi,
I got in mind, that it might be interesting for debug purpose,
to obtain information like the output of var_dump() to a string.
Really would be nice being able to have something like
$debug_info_obj = var_dump($obj);
or even by introducing a new function like $info=var_info($var);
What do you think about it?
Regards
Dennis Sterzenbach