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
function brokenTrace($arg1, $arg2){ | |
backtraceWrapper(); | |
echo "unsetting arg1\n"; | |
unset($arg1); | |
echo "unsetting arg2\n"; | |
unset($arg2); | |
backtraceWrapper(); | |
} |
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
<?php | |
function brokenTrace($arg1, $arg2){ | |
backtraceWrapper(); | |
echo exceptionTraceWrapper(); | |
echo "\n"; | |
echo "unsetting arg1\n"; | |
unset($arg1); | |
backtraceWrapper(); | |
echo exceptionTraceWrapper(); |