bug60494.phpt 541 B

12345678910111213141516171819
  1. --TEST--
  2. Bug #60494 (iconv_mime_decode does ignore special characters)
  3. --EXTENSIONS--
  4. iconv
  5. --FILE--
  6. <?php
  7. var_dump(iconv_mime_decode('ä'));
  8. var_dump(iconv_mime_decode('ö'));
  9. var_dump(iconv_mime_decode('ß'));
  10. ?>
  11. --EXPECTF--
  12. Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d
  13. bool(false)
  14. Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d
  15. bool(false)
  16. Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d
  17. bool(false)