Is there an easy way to stop the program and indicate where the subroutine was called from..
<?php
function writeMsg() {
echo "how are you";
}
writeMsg(); // call the function
?>
Bottom line if I halt the program at the function.. how can I display what the call was that called the program..
I realize I could search for writeMsg() but it will be called from many different points in the program at different times..
I would like to have it log each call and where it came from...
regards,
jack...
Is there an easy way How to detect where a function call came from
Re: Is there an easy way How to detect where a function call came from
The debug_backtrace() function is use todetect where a function call came from.....
killer site this is especially what I washoping to find
Hello, nice site I am the owner of a letter of reference for college crew. we provide online editing services. our group can edit all types of documents for private college students. Our company carefully read through your document and other documetns, searching for and correcting all issues that obscure clarity of the quality of your labor. Our mission is simply to help you touch up your document, and to assist you with talented editors in an easy and affordable way. The crew at Ivy League Editors are a proofreading jobs utility set up, and to give you experienced and intelligent editors at a reasonable rate. After decades of being students, editors, and writers, all of us truely believe that gifted academics need the best quality of editing. All of our company are graduates of Ivy League or Ivy League-level schools and are well-read in many different schools including English, political science, philosophy,law, history and sociology. All of our editors attended or attend an Ivy League or Ivy League-equivalent university and have the best experience correcting documents in a multitude of disciplines and genres.
Return to “PHP, HTML, MYSQL and Web Hosting”
Who is online
Users browsing this forum: No registered users and 2 guests