debug_print_backtrace

PHP 5, PHP 7, PHP 8
debug_print_backtrace - Prints a backtrace
Manual
Code Examples

Example #1 debug_print_backtrace example

Result: #0 c() called at [/tmp/include.php:10] #1 b() called at [/tmp/include.php:6] #2 a() called at [/tmp/include.php:17] #3 include(/tmp/include.php) called at [/tmp/test.php:3]
PHP Version:


Function debug_print_backtrace:

Error Handling and Logging Functions

Most used PHP functions