Created
November 19, 2018 02:52
-
-
Save cloned/df8eab520b3280d7f7e606f4e115c93b to your computer and use it in GitHub Desktop.
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
echo json_encode(debug_backtrace(), JSON_PRETTY_PRINT) . PHP_EOL; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you just want to know which codes are calling the function, you can also do like this.
http://php.net/manual/ja/function.debug-backtrace.php