xref: /PHP-8.0/ext/iconv/tests/bug60494.phpt (revision a555cc0b)
1--TEST--
2Bug #60494 (iconv_mime_decode does ignore special characters)
3--SKIPIF--
4<?php
5if (!extension_loaded('iconv')) die('skip iconv extension not available');
6?>
7--FILE--
8<?php
9var_dump(iconv_mime_decode('ä'));
10var_dump(iconv_mime_decode('ö'));
11var_dump(iconv_mime_decode('ß'));
12?>
13--EXPECTF--
14Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d
15bool(false)
16
17Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d
18bool(false)
19
20Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d
21bool(false)
22