dis-bench / src /php /php-src /ext /iconv /tests /gh7953.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
307 Bytes
--TEST--
GH-7953 (ob_clean() only may not set Content-* header)
--EXTENSIONS--
iconv
--INI--
input_encoding=UTF-8
output_encoding=ISO-8859-1
--CGI--
--FILE--
<?php
ob_start('ob_iconv_handler');
ob_clean();
echo 'Hello World';
?>
--EXPECTF--
%a
--EXPECTHEADERS--
Content-Type: text/html; charset=ISO-8859-1