php-src/Zend/tests/debug_print_backtrace_from_main.phpt
Nikita Popov de6e401e05
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.
2021-05-18 11:43:37 +02:00

8 lines
113 B
PHP

--TEST--
Calling debug_print_backtrace() from main script
--FILE--
<?php
debug_print_backtrace();
?>
--EXPECT--