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-- Phar::mapPhar truncated manifest/improper params --EXTENSIONS-- phar --FILE-- <?p..
Decoded Output download
--TEST--
Phar::mapPhar truncated manifest/improper params
--EXTENSIONS--
phar
--FILE--
<?php
try {
Phar::mapPhar(5, 'hio', 'hi');
} catch (TypeError $e) {
echo $e->getMessage(), "
";
}
try {
Phar::mapPhar();
} catch (Exception $e) {
echo $e->getMessage(), "
";
}
__HALT_COMPILER(); ?>
--EXPECTF--
Phar::mapPhar() expects at most 2 arguments, 3 given
internal corruption of phar "%s002.php" (truncated manifest at manifest length)
Did this file decode correctly?
Original Code
--TEST--
Phar::mapPhar truncated manifest/improper params
--EXTENSIONS--
phar
--FILE--
<?php
try {
Phar::mapPhar(5, 'hio', 'hi');
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
try {
Phar::mapPhar();
} catch (Exception $e) {
echo $e->getMessage(), "\n";
}
__HALT_COMPILER(); ?>
--EXPECTF--
Phar::mapPhar() expects at most 2 arguments, 3 given
internal corruption of phar "%s002.php" (truncated manifest at manifest length)
Function Calls
None |
Stats
MD5 | 8a9ad7ae44081be09c84284d3d6bcb90 |
Eval Count | 0 |
Decode Time | 79 ms |