Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
--TEST-- Bug #39445 (Calling debug_backtrace() in the __toString() function produces a cra..
Decoded Output download
--TEST--
Bug #39445 (Calling debug_backtrace() in the __toString() function produces a crash)
--FILE--
<?php
class test {
public function __toString() {
debug_backtrace();
return 'lowercase';
}
}
$test = new test();
echo strtoupper($test);
?>
--EXPECT--
LOWERCASE
Did this file decode correctly?
Original Code
--TEST--
Bug #39445 (Calling debug_backtrace() in the __toString() function produces a crash)
--FILE--
<?php
class test {
public function __toString() {
debug_backtrace();
return 'lowercase';
}
}
$test = new test();
echo strtoupper($test);
?>
--EXPECT--
LOWERCASE
Function Calls
None |
Stats
MD5 | 6e5e28c54420b3c3f72dda19140e978a |
Eval Count | 0 |
Decode Time | 104 ms |