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 #71504: Parsing of tar file with duplicate filenames causes memory leak --EXT..
Decoded Output download
--TEST--
Bug #71504: Parsing of tar file with duplicate filenames causes memory leak
--EXTENSIONS--
phar
zlib
--FILE--
<?php
$fname = str_replace('\', '/', __DIR__ . '/files/HTML_CSS-1.5.4.tgz');
try {
$tar = new PharData($fname);
} catch(Exception $e) {
echo $e->getMessage() . "
";
}
?>
===DONE===
--EXPECT--
===DONE===
Did this file decode correctly?
Original Code
--TEST--
Bug #71504: Parsing of tar file with duplicate filenames causes memory leak
--EXTENSIONS--
phar
zlib
--FILE--
<?php
$fname = str_replace('\\', '/', __DIR__ . '/files/HTML_CSS-1.5.4.tgz');
try {
$tar = new PharData($fname);
} catch(Exception $e) {
echo $e->getMessage() . "\n";
}
?>
===DONE===
--EXPECT--
===DONE===
Function Calls
None |
Stats
MD5 | 29db8141483371c54816a4232025c718 |
Eval Count | 0 |
Decode Time | 92 ms |