$60 GRAYBYTE WORDPRESS FILE MANAGER $33

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/php82/usr/share/pear/test/Mail_Mime/tests/

HOME
Current File : /opt/alt/php82/usr/share/pear/test/Mail_Mime/tests//headers_without_mbstring.phpt
--TEST--
Multi-test for headers encoding using base64 and quoted-printable
--SKIPIF--
<?php
if (function_exists('mb_substr') && function_exists('mb_strlen')) {
    die("skip mbstring functions found!");
}
?>
--FILE--
<?php
include("Mail/mime.php");
$mime = new Mail_mime();

$headers = array(
array('From', '<[email protected]>'),
array('From', '[email protected]'),
array('From', 'Frank Do <[email protected]>'),
array('To', 'Frank Do <[email protected]>, James Clark <[email protected]>'),
array('From', '"Frank Do" <[email protected]>'),
array('Cc', '"Frank Do" <[email protected]>, "James Clark" <[email protected]>'),
array('Cc', ' <[email protected]>, "Kuśmiderski Jan Krzysztof Janusz Długa nazwa" <[email protected]>'),
array('From', '"[email protected]" <addresse@adresse>'),
array('From', '[email protected] <addresse@adresse>'),
array('From', '"German Umlauts öäü" <[email protected]>'),
array('Subject', 'German Umlauts öäü <[email protected]>'),
array('Subject', 'Short ASCII subject'),
array('Subject', 'Long ASCII subject - multiline space separated words - too long for one line'),
array('Subject', 'Short Unicode ż subject'),
array('Subject', 'Long Unicode subject - zażółć gęślą jaźń - too long for one line'),
array('References', '<[email protected]>  <[email protected]> <[email protected]>'),
array('To', '"Frank Do" <[email protected]>,, "James Clark" <[email protected]>'),
array('To', '"Frank \\" \\\\Do" <[email protected]>'),
array('To', 'Frank " \\Do <[email protected]>'),
array('Subject', "A REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY /REALLY/ LONG test"),
array('Subject', "TEST Süper gröse tolle grüße von mir Süper gröse tolle grüße von mir Süper gröse tolle grüße von mir Süper gröse tolle grüße von mir Süper gröse tolle grüße von mir Süper gröse tolle grüße von mir Süper gröse tolle grüße von mir Süper gröse tolle grüße von mir Süper gröse tolle grüße von mir!!!?"),
array('Subject', "Update: Microsoft Windows-Tool zum Entfernen bösartiger Software 3.6"),
array('From', "test@nàme <[email protected]>"),
array('From', "Test <\"test test\"@domain.com>"),
array('From', "\"test test\"@domain.com"),
array('From', "<\"test test\"@domain.com>"),
array('From', "Doe<[email protected]>"),
array('From', "\"John Doe\"<[email protected]>"),
array('Mail-Reply-To', '[email protected] <addresse@adresse>'),
array('Mail-Reply-To', '"öäü" <[email protected]>'),
);

$i = 1;
foreach ($headers as $header) {
    $hdr = $mime->encodeHeader($header[0], $header[1], 'UTF-8', 'base64');
    printf("[%02d] %s: %s\n", $i, $header[0], $hdr);
    $hdr = $mime->encodeHeader($header[0], $header[1], 'UTF-8', 'quoted-printable');
    printf("[%02d] %s: %s\n", $i, $header[0], $hdr);
    $i++;
}
?>
--EXPECT--
[01] From: <[email protected]>
[01] From: <[email protected]>
[02] From: [email protected]
[02] From: [email protected]
[03] From: Frank Do <[email protected]>
[03] From: Frank Do <[email protected]>
[04] To: Frank Do <[email protected]>, James Clark <[email protected]>
[04] To: Frank Do <[email protected]>, James Clark <[email protected]>
[05] From: "Frank Do" <[email protected]>
[05] From: "Frank Do" <[email protected]>
[06] Cc: "Frank Do" <[email protected]>, "James Clark" <[email protected]>
[06] Cc: "Frank Do" <[email protected]>, "James Clark" <[email protected]>
[07] Cc: <[email protected]>, =?UTF-8?B?S3XFm21pZGVyc2tpIEphbiBLcnp5c3p0b2Yg?=
 =?UTF-8?B?SmFudXN6IETFgnVnYSBuYXp3YQ==?= <[email protected]>
[07] Cc: <[email protected]>,
 =?UTF-8?Q?Ku=C5=9Bmiderski_Jan_Krzysztof_Janusz_D?=
 =?UTF-8?Q?=C5=82uga_nazwa?= <[email protected]>
[08] From: "[email protected]" <addresse@adresse>
[08] From: "[email protected]" <addresse@adresse>
[09] From: "[email protected]" <addresse@adresse>
[09] From: "[email protected]" <addresse@adresse>
[10] From: =?UTF-8?B?R2VybWFuIFVtbGF1dHMgw7bDpMO8?= <[email protected]>
[10] From: =?UTF-8?Q?German_Umlauts_=C3=B6=C3=A4=C3=BC?= <[email protected]>
[11] Subject: =?UTF-8?B?R2VybWFuIFVtbGF1dHMgw7bDpMO8IDxhZHJlc3NlQGFkcmVzc2Uu?=
 =?UTF-8?B?ZGU+?=
[11] Subject: =?UTF-8?Q?German_Umlauts_=C3=B6=C3=A4=C3=BC_=3Cadresse=40adresse?=
 =?UTF-8?Q?=2Ede=3E?=
[12] Subject: Short ASCII subject
[12] Subject: Short ASCII subject
[13] Subject: Long ASCII subject - multiline space separated words - too long for
 one line
[13] Subject: Long ASCII subject - multiline space separated words - too long for
 one line
[14] Subject: =?UTF-8?B?U2hvcnQgVW5pY29kZSDFvCBzdWJqZWN0?=
[14] Subject: =?UTF-8?Q?Short_Unicode_=C5=BC_subject?=
[15] Subject: =?UTF-8?B?TG9uZyBVbmljb2RlIHN1YmplY3QgLSB6YcW8w7PFgsSHIGfEmcWb?=
 =?UTF-8?B?bMSFIGphxbrFhCAtIHRvbyBsb25nIGZvciBvbmUgbGluZQ==?=
[15] Subject: =?UTF-8?Q?Long_Unicode_subject_-_za=C5=BC=C3=B3=C5=82=C4=87_g=C4?=
 =?UTF-8?Q?=99=C5=9Bl=C4=85_ja=C5=BA=C5=84_-_too_long_for_one_line?=
[16] References: <[email protected]>
 <[email protected]> <[email protected]>
[16] References: <[email protected]>
 <[email protected]> <[email protected]>
[17] To: "Frank Do" <[email protected]>, "James Clark" <[email protected]>
[17] To: "Frank Do" <[email protected]>, "James Clark" <[email protected]>
[18] To: "Frank \" \\Do" <[email protected]>
[18] To: "Frank \" \\Do" <[email protected]>
[19] To: "Frank \" \\Do" <[email protected]>
[19] To: "Frank \" \\Do" <[email protected]>
[20] Subject: A REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY
 REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY
 REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY
 REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY /REALLY/ LONG test
[20] Subject: A REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY
 REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY
 REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY
 REALLY REALLY REALLY REALLY REALLY REALLY REALLY REALLY /REALLY/ LONG test
[21] Subject: =?UTF-8?B?VEVTVCBTw7xwZXIgZ3LDtnNlIHRvbGxlIGdyw7zDn2Ugdm9uIG1p?=
 =?UTF-8?B?ciBTw7xwZXIgZ3LDtnNlIHRvbGxlIGdyw7zDn2Ugdm9uIG1pciBTw7xwZXIg?=
 =?UTF-8?B?Z3LDtnNlIHRvbGxlIGdyw7zDn2Ugdm9uIG1pciBTw7xwZXIgZ3LDtnNlIHRv?=
 =?UTF-8?B?bGxlIGdyw7zDn2Ugdm9uIG1pciBTw7xwZXIgZ3LDtnNlIHRvbGxlIGdyw7zD?=
 =?UTF-8?B?n2Ugdm9uIG1pciBTw7xwZXIgZ3LDtnNlIHRvbGxlIGdyw7zDn2Ugdm9uIG1p?=
 =?UTF-8?B?ciBTw7xwZXIgZ3LDtnNlIHRvbGxlIGdyw7zDn2Ugdm9uIG1pciBTw7xwZXIg?=
 =?UTF-8?B?Z3LDtnNlIHRvbGxlIGdyw7zDn2Ugdm9uIG1pciBTw7xwZXIgZ3LDtnNlIHRv?=
 =?UTF-8?B?bGxlIGdyw7zDn2Ugdm9uIG1pciEhIT8=?=
[21] Subject: =?UTF-8?Q?TEST_S=C3=BCper_gr=C3=B6se_tolle_gr=C3=BC=C3=9Fe_von_mir?=
 =?UTF-8?Q?_S=C3=BCper_gr=C3=B6se_tolle_gr=C3=BC=C3=9Fe_von_mir_S=C3=BCper_g?=
 =?UTF-8?Q?r=C3=B6se_tolle_gr=C3=BC=C3=9Fe_von_mir_S=C3=BCper_gr=C3=B6se_tol?=
 =?UTF-8?Q?le_gr=C3=BC=C3=9Fe_von_mir_S=C3=BCper_gr=C3=B6se_tolle_gr=C3=BC?=
 =?UTF-8?Q?=C3=9Fe_von_mir_S=C3=BCper_gr=C3=B6se_tolle_gr=C3=BC=C3=9Fe_von_m?=
 =?UTF-8?Q?ir_S=C3=BCper_gr=C3=B6se_tolle_gr=C3=BC=C3=9Fe_von_mir_S=C3=BCper?=
 =?UTF-8?Q?_gr=C3=B6se_tolle_gr=C3=BC=C3=9Fe_von_mir_S=C3=BCper_gr=C3=B6se_t?=
 =?UTF-8?Q?olle_gr=C3=BC=C3=9Fe_von_mir!!!=3F?=
[22] Subject: =?UTF-8?B?VXBkYXRlOiBNaWNyb3NvZnQgV2luZG93cy1Ub29sIHp1bSBFbnRm?=
 =?UTF-8?B?ZXJuZW4gYsO2c2FydGlnZXIgU29mdHdhcmUgMy42?=
[22] Subject: =?UTF-8?Q?Update=3A_Microsoft_Windows-Tool_zum_Entfernen_b=C3=B6sa?=
 =?UTF-8?Q?rtiger_Software_3=2E6?=
[23] From: =?UTF-8?B?dGVzdEBuw6BtZQ==?= <[email protected]>
[23] From: =?UTF-8?Q?test=40n=C3=A0me?= <[email protected]>
[24] From: Test <"test test"@domain.com>
[24] From: Test <"test test"@domain.com>
[25] From: "test test"@domain.com
[25] From: "test test"@domain.com
[26] From: <"test test"@domain.com>
[26] From: <"test test"@domain.com>
[27] From: Doe <[email protected]>
[27] From: Doe <[email protected]>
[28] From: "John Doe" <[email protected]>
[28] From: "John Doe" <[email protected]>
[29] Mail-Reply-To: "[email protected]" <addresse@adresse>
[29] Mail-Reply-To: "[email protected]" <addresse@adresse>
[30] Mail-Reply-To: =?UTF-8?B?w7bDpMO8?= <[email protected]>
[30] Mail-Reply-To: =?UTF-8?Q?=C3=B6=C3=A4=C3=BC?= <[email protected]>


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
21 Mar 2024 1.09 PM
root / root
0755
class-filename.phpt
0.236 KB
6 Apr 2023 3.34 PM
root / root
0644
content_transfer_encoding.phpt
0.902 KB
6 Apr 2023 3.34 PM
root / root
0644
encoding_case.phpt
0.238 KB
6 Apr 2023 3.34 PM
root / root
0644
headers_with_mbstring.phpt
8.647 KB
6 Apr 2023 3.34 PM
root / root
0644
headers_without_mbstring.phpt
8.317 KB
6 Apr 2023 3.34 PM
root / root
0644
qp_encoding_test.phpt
3.474 KB
6 Apr 2023 3.34 PM
root / root
0644
sleep_wakeup_EOL-bug3488-part1.phpt
0.532 KB
6 Apr 2023 3.34 PM
root / root
0644
sleep_wakeup_EOL-bug3488-part2.phpt
0.572 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_10596_1.phpt
0.289 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_10816_1.phpt
0.557 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_10999_1.phpt
0.479 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_11381.phpt
0.544 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_11731.phpt
0.668 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_12165.phpt
0.372 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_12385_1.phpt
0.526 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_12411.phpt
0.634 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_12466.phpt
0.435 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_13032.phpt
0.526 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_13444.phpt
0.654 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_13962.phpt
0.358 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_14529.phpt
0.509 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_14779.phpt
0.478 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_14780.phpt
0.343 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_15320.phpt
0.451 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_16539.phpt
7.337 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_17025.phpt
0.402 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_17175.phpt
0.679 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_18083.phpt
0.578 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_18772.phpt
0.859 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_19497.phpt
0.534 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_20226.phpt
0.333 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_20273.phpt
0.295 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_20563.phpt
0.369 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_20564.phpt
0.264 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_21027.phpt
7.124 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_21098.phpt
0.381 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_21205.phpt
1.279 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_21206.phpt
0.576 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_21255.phpt
0.344 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_3513_1.phpt
0.464 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_3513_2.phpt
0.554 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_3513_3.phpt
0.616 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_7561_1.phpt
0.63 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_8386_1.phpt
0.538 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_8541_1.phpt
0.487 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_9722_1.phpt
0.352 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_GH16.phpt
1.564 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_GH19.phpt
0.974 KB
6 Apr 2023 3.34 PM
root / root
0644
test_Bug_GH26.phpt
0.737 KB
6 Apr 2023 3.34 PM
root / root
0644
test_linebreak_dot.phpt
1.648 KB
6 Apr 2023 3.34 PM
root / root
0644
test_linebreak_larger_76.phpt
2.253 KB
6 Apr 2023 3.34 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF