Additional param for debug_print_backtrace() ?
| From: | php at hristov dot com | Date: | Mon, 09 Feb 2004 14:23:14 +0000 |
| Subject: | Additional param for debug_print_backtrace() ? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-7664@lists.php.net to get a copy of this message | ||
Hi internals,
I have created a small patch for debug_print_backtrace() that adds the
possibility the string representation of the backtrace in printed form to be
returned as string (as it is with print_r() currently).
The patch is available at :
http://andrey.hristov.com/projects/php_stuff/patches/debug_print_backtrace_ret_string.diff.txt
Ideas or comments? I would like to see it applied since it's faster (to type) to
pass true value to the function than using output buffering in userland which
needs 3 additional lines of code.
Andrey