File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ var_dump(mb_decode_mimeheader($subject));
1818$ subject = "=?us-ascii?Q?The_PH?= \t =?us-ascii?Q?P_8.5?= " ;
1919var_dump (mb_decode_mimeheader ($ subject ));
2020
21- // from RFC 2047 https://www.ietf.org/rfc/rfc2047
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?=) " ));
21+ // from RFC 2047 https://www.ietf.org/rfc/rfc2047#section-8
22+ var_dump (mb_decode_mimeheader ("(=?ISO-8859-1?Q?a?=) " ));
2523var_dump (mb_decode_mimeheader ("(=?ISO-8859-1?Q?a?= b) " ));
24+ var_dump (mb_decode_mimeheader ("(=?ISO-8859-1?Q?a_b?=) " ));
25+ var_dump (mb_decode_mimeheader ("(=?ISO-8859-1?Q?a?= =?ISO-8859-1?Q?b?=) " ));
2626var_dump (mb_decode_mimeheader ("(=?ISO-8859-1?Q?a?= =?ISO-8859-1?Q?b?=) " ));
2727var_dump (mb_decode_mimeheader ("(=?ISO-8859-1?Q?a?=
2828 =?ISO-8859-1?Q?b?=) " ));
@@ -32,9 +32,9 @@ string(11) "The PHP 8.5"
3232string(11) "The PHP 8.5"
3333string(11) "The PHP 8.5"
3434string(11) "The PHP 8.5"
35+ string(3) "(a)"
3536string(5) "(a b)"
3637string(5) "(a b)"
3738string(4) "(ab)"
38- string(5) "(a b)"
3939string(4) "(ab)"
4040string(4) "(ab)"
You can’t perform that action at this time.
0 commit comments