mirror of
https://github.com/php/php-src.git
synced 2024-12-13 11:54:45 +08:00
7c93a16477
Since upgrade to PHP 5.4, we can't change zlib.output_compression on the fly the check for PHP_OUTPUT_WRITTEN was over-zealous
16 lines
244 B
PHP
16 lines
244 B
PHP
--TEST--
|
|
bug #61443
|
|
--SKIPIF--
|
|
<?php
|
|
extension_loaded("zlib") or die("skip");
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
ob_start(); echo "foo\n"; ob_get_clean();
|
|
if(!headers_sent()) ini_set('zlib.output_compression', true); echo "end\n";
|
|
?>
|
|
DONE
|
|
--EXPECTF--
|
|
end
|
|
DONE
|