Skip to content

Instantly share code, notes, and snippets.

@ithinkihaveacat
Created September 4, 2009 11:38
Show Gist options
  • Save ithinkihaveacat/180843 to your computer and use it in GitHub Desktop.
Save ithinkihaveacat/180843 to your computer and use it in GitHub Desktop.
foreach (debug_backtrace() as $f) {
printf("%s:%d: %s\n", $f["file"], $f["line"], $f["function"]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment