Test: /ext/iconv/tests/bug51250.phpt - Version 7.4.1        

Bug #51250 iconv_mime_decode() does not ignore malformed Q-encoded words
Submitted: 2010-03-09 20:49:43 Modified: 2010-12-01 15:04:19
From: tomlove Assigned: iliaa
Status: Closed Package: ICONV related
PHP Version: 5.2.13 OS: Linux / Windows

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

Count Diff
3 (38%)
004+ string(33) "Illegal encoded-word: =?utf-8?Q?."
004- string(23) "Illegal encoded-word: ."
009+ Notice: iconv_mime_decode(): Unknown error (84) in %s/bug51250.php on line 12
009- Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d
2 (25%)
001+
001- string(23) "Legal encoded-word: * ."
002- string(23) "Legal encoded-word: * ."
003- string(24) "Illegal encoded-word: ."
004- string(23) "Illegal encoded-word: ."
005- string(23) "Legal encoded-word: * ."
006- string(23) "Legal encoded-word: * ."
007- string(24) "Illegal encoded-word: ."
008-
009- Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d
010- bool(false)
1 (13%)
004+ string(33) "Illegal encoded-word: =?utf-8?Q?."
004- string(23) "Illegal encoded-word: ."
009+ Notice: iconv_mime_decode(): Unknown error (88) in %s/bug51250.php on line 12
009- Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d
1 (13%)
001+ dyld: lazy symbol binding failed: Symbol not found: _libiconv_open
002+ Referenced from: /Users/guigangwang/php-7.4.1/sapi/cli/php
003+ Expected in: /usr/lib/libiconv.2.dylib
004+
005+ dyld: Symbol not found: _libiconv_open
006+ Referenced from: /Users/guigangwang/php-7.4.1/sapi/cli/php
007+ Expected in: /usr/lib/libiconv.2.dylib
008+
001- string(23) "Legal encoded-word: * ."
002- string(23) "Legal encoded-word: * ."
003- string(24) "Illegal encoded-word: ."
004- string(23) "Illegal encoded-word: ."
005- string(23) "Legal encoded-word: * ."
006- string(23) "Legal encoded-word: * ."
007- string(24) "Illegal encoded-word: ."
009- Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d
010+ Termsig=6
010- bool(false)
1 (13%)
001+ Termsig=0
001- string(23) "Legal encoded-word: * ."
002- string(23) "Legal encoded-word: * ."
003- string(24) "Illegal encoded-word: ."
004- string(23) "Illegal encoded-word: ."
005- string(23) "Legal encoded-word: * ."
006- string(23) "Legal encoded-word: * ."
007- string(24) "Illegal encoded-word: ."
008-
009- Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d
010- bool(false)