Forget debug_print_backtrace() like exception backtraces

From: Date: Wed, 12 May 2021 09:12:19 +0000
Subject: Forget debug_print_backtrace() like exception backtraces
Groups: php.internals 
Request: Send a blank email to internals+get-114429@lists.php.net to get a copy of this message
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

« previous php.internals (#114429) next »