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

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

Count Diff
40 (63%)
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
11 (17%)
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
002- bool(false)
003- string(10) "aa%C3%B8aa"
003+ Termsig=11
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) ""
5 (8%)
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
2 (3%)
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) ""
2 (3%)
001+ Termsig=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"
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) ""
2 (3%)
001+ Notice: iconv(): Unknown error (84) in %s/bug48147.php on line 3
002+ zend_mm_heap corrupted
001- Notice: iconv(): Detected an illegal character in input string in %s on line %d
002- bool(false)
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 (2%)
001+ Notice: iconv(): Unknown error (88) in %s/bug48147.php on line 3
002+ zend_mm_heap corrupted
001- Notice: iconv(): Detected an illegal character in input string in %s on line %d
002- bool(false)
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 (2%)
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
006+ php: /usr/local/src/php-7.0.11/Zend/zend_string.h:262: zend_string_free: Assertion `(s)->gc.refcount <= 1' failed.
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+ Termsig=6
009- Notice: iconv(): Detected an incomplete multibyte character in input string in %s on line %d
010- string(0) ""