Created
September 4, 2019 14:22
-
-
Save forsvunnet/1c6e010fe513def83d4ef3d0d1ead92a to your computer and use it in GitHub Desktop.
Simple debug 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
<?php | |
echo'<ul>'; | |
$db = debug_backtrace(); | |
foreach ($db as $r) { | |
echo "<li>{$r['file']}:{$r['line']}</li>"; | |
} | |
die; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment