How to use debug print backtrace in PHP
This article describe about debug_print_backtrace() function in PHP.
debug_print_backtrace() function
This function print a backtrace.
Syntax
Example
<html>
<body>
<?php
function one($str1, $str2)
{
two("Glenn", "Quagmire");
}
function two($str1, $str2)
{
three("Cleveland", "Brown");
}
function three($str1, $str2)
{
debug_print_backtrace();
}
one("Peter", "Griffin");
?>
</body>
</html> |
Output
You may also want to read these related articles Click here
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here