File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,22 @@ $subject = "=?us-ascii?Q?The_PH?= \t =?us-ascii?Q?P_8.5?=";
1919var_dump (mb_decode_mimeheader ($ subject ));
2020
2121// from RFC 2047 https://www.ietf.org/rfc/rfc2047
22- var_dump (mb_decode_mimeheader ("(=?ISO-8859-1?Q?a?= =?ISO-8859-1?Q?_b?=) " ));
22+ var_dump (mb_decode_mimeheader ("(=?ISO-8859-1?Q?a?= =?ISO-8859-2?Q?_b?=) " ));
23+ var_dump (mb_decode_mimeheader ("(=?ISO-8859-1?Q?a_b?=) " ));
24+ var_dump (mb_decode_mimeheader ("(=?ISO-8859-1?Q?a?= =?ISO-8859-1?Q?b?=) " ));
25+ var_dump (mb_decode_mimeheader ("(=?ISO-8859-1?Q?a?= b) " ));
26+ var_dump (mb_decode_mimeheader ("(=?ISO-8859-1?Q?a?= =?ISO-8859-1?Q?b?=) " ));
27+ var_dump (mb_decode_mimeheader ("(=?ISO-8859-1?Q?a?=
28+ =?ISO-8859-1?Q?b?=) " ));
2329?>
2430--EXPECTF--
2531string(11) "The PHP 8.5"
2632string(11) "The PHP 8.5"
2733string(11) "The PHP 8.5"
2834string(11) "The PHP 8.5"
2935string(5) "(a b)"
36+ string(5) "(a b)"
37+ string(4) "(ab)"
38+ string(5) "(a b)"
39+ string(4) "(ab)"
40+ string(4) "(ab)"
You can’t perform that action at this time.
0 commit comments