Test: /ext/iconv/tests/bug48147.phpt - Version 7.4.12        

Bug #48147 iconv with //IGNORE cuts the string
Submitted: 2009-05-04 14:52:10 Modified: 2015-05-08 07:23:07
From: kulakov74 Assigned: stas
Status: Closed Package: ICONV related
PHP Version: 5.*, 6CVS (2009-05-05) OS: Linux

There are 5 different diffs reported by users for this test.

Count Diff
540 (98%)
003- string(10) "aa%C3%B8aa" 004+ Notice: iconv(): Wrong charset, conversion from `UTF-8' to `UTF-8//IGNORE' is not allowed in %s/bug48147.php on line 4 005- Notice: iconv(): Detected an incomplete multibyte character in input string in %s on line %d 007+ Notice: iconv(): Wrong charset, conversion from `UTF-8' to `UTF-8//IGNORE' is not allowed in %s/bug48147.php on line 6 008+ string(0) "" 009+ 010+ Notice: iconv(): Wrong charset, conversion from `UTF-8' to `UTF-8//IGNORE' is not allowed in %s/bug48147.php on line 8 011+ string(0) "" 012+ 013+ Notice: iconv(): Wrong charset, conversion from `UTF-8' to `UTF-8//IGNORE' is not allowed in %s/bug48147.php on line 10 007- string(8) "%C3%B8aa" 009- Notice: iconv(): Detected an incomplete multibyte character in input string in %s on line %d
7 (1%)
001+ Notice: iconv(): Unknown error (84) in %s/bug48147.php on line 3 001- Notice: iconv(): Detected an illegal character in input string in %s on line %d 005+ Notice: iconv(): Unknown error (22) in %s/bug48147.php on line 6 005- Notice: iconv(): Detected an incomplete multibyte character in input string in %s on line %d 009+ Notice: iconv(): Unknown error (22) in %s/bug48147.php on line 10 009- Notice: iconv(): Detected an incomplete multibyte character in input string in %s on line %d
1 (0%)
003+ string(16) "aa%C3%C3%C3%B8aa" 004+ string(3) "%C3" 005+ string(14) "%C3%C3%C3%B8aa" 006+ string(11) "aa%C3%C3%C3" 003- string(10) "aa%C3%B8aa" 004- 005- Notice: iconv(): Detected an incomplete multibyte character in input string in %s on line %d 006- string(0) "" 007- string(8) "%C3%B8aa" 008- 009- Notice: iconv(): Detected an incomplete multibyte character in input string in %s on line %d 010- string(0) ""
1 (0%)
001- Notice: iconv(): Detected an illegal character in input string in %s on line %d 002- bool(false) 003- string(10) "aa%C3%B8aa" 005- Notice: iconv(): Detected an incomplete multibyte character in input string in %s on line %d 006- string(0) "" 007- string(8) "%C3%B8aa" 008- 009- Notice: iconv(): Detected an incomplete multibyte character in input string in %s on line %d 010- string(0) ""
1 (0%)