Home
last modified time | relevance | path

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

/PHP-7.0/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 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));
12 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
/PHP-7.0/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)
2307 PHP_FUNCTION(iconv_mime_decode) in PHP_FUNCTION() argument

Completed in 17 milliseconds