Annotation of embedaddon/php/ext/iconv/tests/bug52211.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Bug #52211 (iconv() returns part of string on error)
3: --SKIPIF--
4: <?php
5: include('skipif.inc');
6: ?>
7: --FILE--
8: <?php
9:
10: $str = "PATHOLOGIES MÉDICO-CHIRUR. ADUL. PL";
11: $str_iconv = iconv('CP850', 'ISO-8859-1', $str );
12: var_dump($str_iconv);
13:
14: ?>
15: --EXPECTF--
16: Notice: iconv(): Detected an illegal character in input string in %s on line %d
17: bool(false)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>