mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
This is a mix of more automated and manual migration. It should remove all applicable extension_loaded() checks outside of skipif.inc files.
22 lines
311 B
PHP
22 lines
311 B
PHP
--TEST--
|
|
bug #61820 using ob_gzhandler will complain about headers already sent when no compression
|
|
--EXTENSIONS--
|
|
zlib
|
|
--FILE--
|
|
<?php
|
|
ob_start('ob_gzhandler');
|
|
|
|
echo "Hi there.\n";
|
|
ob_flush();
|
|
flush();
|
|
|
|
echo "This is confusing...\n";
|
|
ob_flush();
|
|
flush();
|
|
?>
|
|
DONE
|
|
--EXPECT--
|
|
Hi there.
|
|
This is confusing...
|
|
DONE
|