mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00

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.
8 lines
113 B
PHP
8 lines
113 B
PHP
--TEST--
|
|
Calling debug_print_backtrace() from main script
|
|
--FILE--
|
|
<?php
|
|
debug_print_backtrace();
|
|
?>
|
|
--EXPECT--
|
|
|