Created
January 26, 2021 16:19
-
-
Save lamskoy/c1407e44ee2626887739366734838d79 to your computer and use it in GitHub Desktop.
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
<?php | |
$backtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS); | |
$trace = ''; | |
foreach ($backtrace as $i=>$r) { | |
$trace .= "[$i] {$r['file']}:{$r['line']}\n"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment