Download src/php/php-src/ext/iconv/tests/gh7953.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 307 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/iconv/tests/gh7953.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/iconv/tests/gh7953.phpt
-
curl -L -o gh7953.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/iconv/tests/gh7953.phpt
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 | |