Home
last modified time | relevance | path

Searched refs:iconv_mime_decode (Results 1 – 12 of 12) sorted by relevance

/PHP-7.2/ext/iconv/tests/
H A Dbug51250.phpt2 Bug #51250 (iconv_mime_decode() does not ignore malformed Q-encoded words)
9 var_dump(iconv_mime_decode("Legal encoded-word: =?utf-8?B?Kg==?= .", $m));
10 var_dump(iconv_mime_decode("Legal encoded-word: =?utf-8?Q?*?= .", $m));
11 var_dump(iconv_mime_decode("Illegal encoded-word: =?utf-8?B?".chr(0xA1)."?= .", $m));
12 var_dump(iconv_mime_decode("Illegal encoded-word: =?utf-8?Q?".chr(0xA1)."?= .", $m));
14 var_dump(iconv_mime_decode("Legal encoded-word: =?utf-8?B?Kg==?= ."));
15 var_dump(iconv_mime_decode("Legal encoded-word: =?utf-8?Q?*?= ."));
16 var_dump(iconv_mime_decode("Illegal encoded-word: =?utf-8?B?".chr(0xA1)."?= ."));
17 var_dump(iconv_mime_decode("Illegal encoded-word: =?utf-8?Q?".chr(0xA1)."?= ."));
28 Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d
H A Dbug60494.phpt2 Bug #60494 (iconv_mime_decode does ignore special characters)
9 var_dump(iconv_mime_decode('ä'));
10 var_dump(iconv_mime_decode('ö'));
11 var_dump(iconv_mime_decode('ß'));
15 Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d
18 Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d
21 Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d
H A Diconv_mime_decode_variation3.phpt2 Test iconv_mime_decode() function : usage variations - Pass different data types to charset arg
6 function_exists('iconv_mime_decode') or die("skip iconv_mime_decode() is not available in this buil…
10 /* Prototype : string iconv_mime_decode(string encoded_string [, int mode, string charset])
16 * Pass different data types to $str argument to see how iconv_mime_decode() behaves
19 echo "*** Testing iconv_mime_decode() : usage variations ***\n";
98 // loop through each element of $inputs to check the behavior of iconv_mime_decode()
102 $res = iconv_mime_decode($header, $mode, $input);
117 *** Testing iconv_mime_decode() : usage variations ***
121 Notice: iconv_mime_decode(): Wrong charset, conversion from `???' to `0' is not allowed in %s on li…
126 Notice: iconv_mime_decode(): Wrong charset, conversion from `???' to `1' is not allowed in %s on li…
[all …]
H A Diconv_mime_decode_variation2.phpt2 Test iconv_mime_decode() function : usage variations - Pass different data types to mode arg
7 function_exists('iconv_mime_decode') or die("skip iconv_mime_decode() is not available in this buil…
11 /* Prototype : string iconv_mime_decode(string encoded_string [, int mode, string charset])
17 * Pass different data types to $str argument to see how iconv_mime_decode() behaves
20 echo "*** Testing iconv_mime_decode() : usage variations ***\n";
96 // loop through each element of $inputs to check the behavior of iconv_mime_decode()
100 var_dump( bin2hex(iconv_mime_decode($header, $input, $charset)));
109 *** Testing iconv_mime_decode() : usage variations ***
131 Warning: iconv_mime_decode() expects parameter 2 to be integer, float given in %s on line %d
160 Warning: iconv_mime_decode() expects parameter 2 to be integer, string given in %s on line %d
[all …]
H A Diconv_mime_decode_variation1.phpt2 Test iconv_mime_decode() function : usage variations - Pass different data types to header arg
6 function_exists('iconv_mime_decode') or die("skip iconv_mime_decode() is not available in this buil…
10 /* Prototype : string iconv_mime_decode(string encoded_string [, int mode, string charset])
16 * Pass different data types to $str argument to see how iconv_mime_decode() behaves
19 echo "*** Testing iconv_mime_decode() : usage variations ***\n";
95 // loop through each element of $inputs to check the behavior of iconv_mime_decode()
99 var_dump( iconv_mime_decode($input, $mode, $charset));
108 *** Testing iconv_mime_decode() : usage variations ***
181 Warning: iconv_mime_decode() expects parameter 1 to be string, resource given in %s on line %d
H A Diconv_mime_decode-charset-length-cve-2007-4840.phpt2 iconv_mime_decode() charset parameter length checks (CVE-2007-4840)
8 var_dump(iconv_mime_decode("a", null, $a));
11 Warning: iconv_mime_decode(): Charset parameter exceeds the maximum allowed length of %d characters…
H A Dbug53304.phpt7 echo iconv_mime_decode('=?utf-8?Q?Nachricht_=c3=bcber_Kontaktformular_www.inexio.net?=', 0, 'UTF-8'…
8 echo iconv_mime_decode('=?utf-8?Q?Nachricht_=C3=BCber_Kontaktformular_www.inexio.net?=', 0, 'UTF-8'…
H A Diconv_mime_decode.phpt2 iconv_mime_decode()
19 $result = iconv_mime_decode($header, $mode, "UTF-8");
71 2: iconv_mime_decode(): Malformed string
77 2: iconv_mime_decode(): Malformed string
H A Dbug68180.phpt2 Bug #68180 (iconv_mime_decode can return extra characters in a header)
10 $decoded = iconv_mime_decode($original, ICONV_MIME_DECODE_STRICT, 'utf-8');
/PHP-7.2/ext/iconv/
H A Dphp_iconv.h69 PHP_FUNCTION(iconv_mime_decode);
H A Diconv.c137 PHP_FE(iconv_mime_decode, arginfo_iconv_mime_decode)
2337 PHP_FUNCTION(iconv_mime_decode) in PHP_FUNCTION() argument
/PHP-7.2/
H A DNEWS858 . Fixed bug #68180 (iconv_mime_decode can return extra characters in a
862 . Fixed bug #60494 (iconv_mime_decode does ignore special characters). (cmb)

Completed in 21 milliseconds