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-- Test gzdeflate() function : variation --EXTENSIONS-- zlib --FILE-- <?php include(..

Decoded Output download

--TEST--
Test gzdeflate() function : variation
--EXTENSIONS--
zlib
--FILE--
<?php
include(__DIR__ . '/data.inc');

echo "*** Testing gzdeflate() : variation ***
";



echo "
-- Testing multiple compression --
";
$output = gzdeflate($data);
var_dump( md5($output));
var_dump(md5(gzdeflate($output)));

?>
--EXPECT--
*** Testing gzdeflate() : variation ***

-- Testing multiple compression --
string(32) "078554fe65e06f6ff01eab51cfc7ae9b"
string(32) "86b9f895ef1377da5269ec3cb2729f71"

Did this file decode correctly?

Original Code

--TEST--
Test gzdeflate() function : variation
--EXTENSIONS--
zlib
--FILE--
<?php
include(__DIR__ . '/data.inc');

echo "*** Testing gzdeflate() : variation ***\n";



echo "\n-- Testing multiple compression --\n";
$output = gzdeflate($data);
var_dump( md5($output));
var_dump(md5(gzdeflate($output)));

?>
--EXPECT--
*** Testing gzdeflate() : variation ***

-- Testing multiple compression --
string(32) "078554fe65e06f6ff01eab51cfc7ae9b"
string(32) "86b9f895ef1377da5269ec3cb2729f71"

Function Calls

None

Variables

None

Stats

MD5 722b9a62702a3ca962ace5b92153265f
Eval Count 0
Decode Time 99 ms