# Additional param for debug_print_backtrace() ?

- Thread: https://externals.io/message/7664
- Original archive: https://news-web.php.net/php.internals/7664
- Started by php@hristov.com on 2004-02-09T14:23:14+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #7664 — php@hristov.com — 2004-02-09T14:23:14+00:00

URL: https://externals.io/message/7664#7664

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
