Download src/php/php-src/ext/iconv/tests/bug60494.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 541 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/iconv/tests/bug60494.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/iconv/tests/bug60494.phpt
-
curl -L -o bug60494.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/iconv/tests/bug60494.phpt
541 Bytes
| --TEST-- | |
| Bug #60494 (iconv_mime_decode does ignore special characters) | |
| --EXTENSIONS-- | |
| iconv | |
| --FILE-- | |
| <?php | |
| var_dump(iconv_mime_decode('ä')); | |
| var_dump(iconv_mime_decode('ö')); | |
| var_dump(iconv_mime_decode('ß')); | |
| ?> | |
| --EXPECTF-- | |
| Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d | |
| bool(false) | |
| Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d | |
| bool(false) | |
| Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d | |
| bool(false) | |