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.
* PHP-7.3: Fix bug #76047
Otherwise opcache "inlines" the function, which causes a minor difference in destruction behavior.
Save opline in leave helper to correctly handle destructor calls during CV freeing (or other leave freeing).