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

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 4 different diffs reported by users for this test.

Count Diff
27 (79%)
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
5 (15%)
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 (3%)
003- string(10) "aa%C3%B8aa"
004+ Notice: iconv(): Detected an illegal character in input string in %s/bug48147.php on line 4
005- Notice: iconv(): Detected an incomplete multibyte character in input string in %s on line %d
007- string(8) "%C3%B8aa"
009+
010+ Notice: iconv(): Detected an illegal character in input string in %s/bug48147.php on line 8
011+ string(0) ""
012+
013+ Notice: iconv(): Detected an illegal character in input string in %s/bug48147.php on line 10
014+ string(0) ""
1 (3%)
001+ Notice: iconv(): Unknown error (88) in %s/bug48147.php on line 3
001- Notice: iconv(): Detected an illegal character in input string in %s on line %d
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) ""