xref: /PHP-8.3/ext/iconv/tests/gh7953.phpt (revision 9bd468da)
1--TEST--
2GH-7953 (ob_clean() only may not set Content-* header)
3--EXTENSIONS--
4iconv
5--INI--
6input_encoding=UTF-8
7output_encoding=ISO-8859-1
8--CGI--
9--FILE--
10<?php
11ob_start('ob_iconv_handler');
12ob_clean();
13
14echo 'Hello World';
15?>
16--EXPECTF--
17%a
18--EXPECTHEADERS--
19Content-Type: text/html; charset=ISO-8859-1
20