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 #40374 (php_shutdown_temporary_directory() tries to free local value) --FILE-..
Decoded Output download
--TEST--
Bug #40374 (php_shutdown_temporary_directory() tries to free local value)
--FILE--
<?php
$file = tempnam(sys_get_temp_dir(), "test_");
var_dump($file);
$fp = fopen($file, "wt");
fwrite($fp, "test");
fclose($fp);
unlink($file);
echo "Done
";
?>
--EXPECTF--
string(%d) "%s"
Done
Did this file decode correctly?
Original Code
--TEST--
Bug #40374 (php_shutdown_temporary_directory() tries to free local value)
--FILE--
<?php
$file = tempnam(sys_get_temp_dir(), "test_");
var_dump($file);
$fp = fopen($file, "wt");
fwrite($fp, "test");
fclose($fp);
unlink($file);
echo "Done\n";
?>
--EXPECTF--
string(%d) "%s"
Done
Function Calls
sys_get_temp_dir | 1 |
Stats
MD5 | 8363116a82c9d4d9fabeeb6a3bdf392c |
Eval Count | 0 |
Decode Time | 84 ms |