Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php // example using second parameters $string = 'Encoding and Decoding Encrypted..

Decoded Output download

<?php // example using second parameters 
$string       = 'Encoding and Decoding Encrypted PHP Code'; 
$compressed   = gzdeflate($string, 9); // compression level set to 9 = maximum 
$uncompressed = gzinflate($compressed, strlen($string)); // length set to same as $string 
echo $compressed ."
"; 
echo $uncompressed; 
?>

Did this file decode correctly?

Original Code

<?php // example using second parameters
$string       = 'Encoding and Decoding Encrypted PHP Code';
$compressed   = gzdeflate($string, 9); // compression level set to 9 = maximum
$uncompressed = gzinflate($compressed, strlen($string)); // length set to same as $string
echo $compressed ."\n";
echo $uncompressed;
?>

Function Calls

gzdeflate 1

Variables

$string Encoding and Decoding Encrypted PHP Code

Stats

MD5 74adf9fb5de3589695e02019c047291c
Eval Count 0
Decode Time 41 ms