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: process zlib-compressed zip alias --INI-- phar.require_hash=0 --EXTENSIONS-..
Decoded Output download
--TEST--
Phar: process zlib-compressed zip alias
--INI--
phar.require_hash=0
--EXTENSIONS--
phar
zlib
--FILE--
<?php
try {
$a = new Phar(__DIR__ . '/files/zlib_alias.phar.zip');
var_dump($a->getAlias());
} catch (Exception $e) {
echo $e->getMessage() . "
";
}
?>
--EXPECT--
string(175) "hitheresuperlongzipistoostupidtodowhatIsaysoIhavetousethisridiculouslylongaliasbecauseitisstupiddidImentionthatalreadythemadnessdoesnotstopIhateinfozipIhateinfozipIhateinfozip"
Did this file decode correctly?
Original Code
--TEST--
Phar: process zlib-compressed zip alias
--INI--
phar.require_hash=0
--EXTENSIONS--
phar
zlib
--FILE--
<?php
try {
$a = new Phar(__DIR__ . '/files/zlib_alias.phar.zip');
var_dump($a->getAlias());
} catch (Exception $e) {
echo $e->getMessage() . "\n";
}
?>
--EXPECT--
string(175) "hitheresuperlongzipistoostupidtodowhatIsaysoIhavetousethisridiculouslylongaliasbecauseitisstupiddidImentionthatalreadythemadnessdoesnotstopIhateinfozipIhateinfozipIhateinfozip"
Function Calls
None |
Stats
MD5 | ffbcb8dbf726738d3af5f1959d85f8a5 |
Eval Count | 0 |
Decode Time | 90 ms |