1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/ext/zlib/tests/bug65391.phpt
Nikita Popov 39131219e8 Migrate more SKIPIF -> EXTENSIONS (#7139)
This is a mix of more automated and manual migration. It should remove all applicable extension_loaded() checks outside of skipif.inc files.
2021-06-11 12:58:44 +02:00

28 lines
438 B
PHP

--TEST--
Bug #65391 (Unable to send vary header user-agent when ob_start('ob_gzhandler') is called)
--EXTENSIONS--
zlib
--GET--
dummy=1
--INI--
expose_php=On
--FILE--
<?php
header("Vary: Cookie");
ob_start("ob_gzhandler");
// run-tests cannot test for a multiple Vary header
ob_flush();
print_r(headers_list());
?>
Done
--EXPECTF--
Array
(
[0] => X-Powered-By: PHP/%s
[1] => Vary: Cookie
[2] => Vary: Accept-Encoding
)
Done