Created
October 26, 2018 16:43
-
-
Save alfchee/00adbab075a7feb3be1b77c68df488fc to your computer and use it in GitHub Desktop.
Trace the stack of calls for your break var_dump()
This file contains 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
// useful line of code to generate a backtrace | |
array_walk(debug_backtrace(),create_function('$a,$b','print "{$a[\'function\']}()(".basename($a[\'file\']).":{$a[\'line\']}); ";')); die(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment