History log of /PHP-8.1/Zend/tests/debug_print_backtrace_from_main.phpt (Results 1 – 2 of 2)
Revision Date Author Comments
# de6e401e 18-May-2021 Nikita Popov

Use common formatting for backtraces (#6977)

This makes debug_print_backtrace() use the same formatting as exception
backtraces. The only difference is that the final #{main} is omitted,

Use common formatting for backtraces (#6977)

This makes debug_print_backtrace() use the same formatting as exception
backtraces. The only difference is that the final #{main} is omitted,
because it wouldn't make sense for limited backtraces, and wasn't there
previously either.

show more ...


# 8bb81226 19-Apr-2021 Nikita Popov

Handle debug_print_backtrace() from main script

If there is nothing to print, the smart_str will hold a nullptr.

Fixes oss-fuzz #33334.