Hi internals,

For historical reasons, debug_print_backtrace() and exceptions implemented
their own logic for formatting backtraces. I don't think there's any
particular reason to have different output from both, so I've put up
https://github.com/php/php-src/pull/6977 to use the much more widely used
exception formatting for debug_print_backtrace() as well. The tests there
should illustrate how the output changes.

Are there any concerns with changing the formatting of
debug_print_backtrace()?

Regards,
Nikita

Reply via email to