Created
September 15, 2013 12:35
-
-
Save joachim-n/6570433 to your computer and use it in GitHub Desktop.
For places where you can't output to browser, and debug() will choke on a full backtrace.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $trace = debug_backtrace(); | |
| foreach ($trace as $trace_item) { | |
| $debug[] = $trace_item['function']; | |
| } | |
| debug($debug); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment