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-- Bug #51269 (zlib.output_compression Overwrites Vary Header) --INI-- zlib.output_c..

Decoded Output download

--TEST--
Bug #51269 (zlib.output_compression Overwrites Vary Header)
--INI--
zlib.output_compression=1
--ENV--
HTTP_ACCEPT_ENCODING=gzip
--EXTENSIONS--
zlib
--FILE--
<?php
header('Vary: Cookie');
echo 'foo';
?>
--EXPECTF--
%a
--EXPECTHEADERS--
Vary: Cookie
Content-Encoding: gzip
Vary: Accept-Encoding

Did this file decode correctly?

Original Code

--TEST--
Bug #51269 (zlib.output_compression Overwrites Vary Header)
--INI--
zlib.output_compression=1
--ENV--
HTTP_ACCEPT_ENCODING=gzip
--EXTENSIONS--
zlib
--FILE--
<?php
header('Vary: Cookie');
echo 'foo';
?>
--EXPECTF--
%a
--EXPECTHEADERS--
Vary: Cookie
Content-Encoding: gzip
Vary: Accept-Encoding

Function Calls

header 1

Variables

None

Stats

MD5 9b9760907bf2eb8f09a92affd8270b91
Eval Count 0
Decode Time 81 ms