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-- zlib_get_coding_type() basic call without env --CREDITS-- PHP TestFest 2017 - Ber..
Decoded Output download
--TEST--
zlib_get_coding_type() basic call without env
--CREDITS--
PHP TestFest 2017 - Bergfreunde, Florian Engelhardt <[email protected]>
--EXTENSIONS--
zlib
--FILE--
<?php
ini_set('zlib.output_compression', 'Off');
$encOff = zlib_get_coding_type();
ini_set('zlib.output_compression', 'On');
$encOn = zlib_get_coding_type();
ini_set('zlib.output_compression', 'Off');
var_dump($encOff);
var_dump($encOn);
?>
--EXPECT--
bool(false)
bool(false)
Did this file decode correctly?
Original Code
--TEST--
zlib_get_coding_type() basic call without env
--CREDITS--
PHP TestFest 2017 - Bergfreunde, Florian Engelhardt <[email protected]>
--EXTENSIONS--
zlib
--FILE--
<?php
ini_set('zlib.output_compression', 'Off');
$encOff = zlib_get_coding_type();
ini_set('zlib.output_compression', 'On');
$encOn = zlib_get_coding_type();
ini_set('zlib.output_compression', 'Off');
var_dump($encOff);
var_dump($encOn);
?>
--EXPECT--
bool(false)
bool(false)
Function Calls
ini_set | 1 |
zlib_get_coding_type | 1 |
Stats
MD5 | 74fbbe1706952a7507a2cdc0a826730e |
Eval Count | 0 |
Decode Time | 81 ms |