mirror of
https://github.com/php/php-src.git
synced 2026-04-19 14:01:01 +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.
9 lines
113 B
PHP
9 lines
113 B
PHP
--TEST--
|
|
Calling debug_print_backtrace() from main script
|
|
--FILE--
|
|
<?php
|
|
debug_print_backtrace();
|
|
?>
|
|
--EXPECT--
|
|
|