Submit
Path:
~
/
/
opt
/
alt
/
php54
/
usr
/
share
/
pear
/
test
/
Mail_Mime
/
tests
/
File Content:
test_Bug_21206.phpt
--TEST-- Bug #21206 Handling quoted strings --SKIPIF-- --FILE-- <?php require_once('Mail/mimePart.php'); class X extends Mail_mimePart { public static function explodeQuotedString($delimiter, $string) { return Mail_mimePart::explodeQuotedString($delimiter, $string); } } $tests = array( '"a" <a@a.a>, b <b@b.b>', '"c\\\\" <c@c.c>, d <d@d.d>', ); foreach ($tests as $test) { $addrs = X::explodeQuotedString('[\t,]', $test); foreach ($addrs as $addr) { print trim($addr) . PHP_EOL; } } ?> --EXPECT-- "a" <a@a.a> b <b@b.b> "c\\" <c@c.c> d <d@d.d>
Submit
FILE
FOLDER
Name
Size
Permission
Action
class-filename.phpt
242 bytes
0644
content_transfer_encoding.phpt
924 bytes
0644
encoding_case.phpt
244 bytes
0644
headers_with_mbstring.phpt
8855 bytes
0644
headers_without_mbstring.phpt
8517 bytes
0644
qp_encoding_test.phpt
3557 bytes
0644
sleep_wakeup_EOL-bug3488-part1.phpt
545 bytes
0644
sleep_wakeup_EOL-bug3488-part2.phpt
586 bytes
0644
test_Bug_10596_1.phpt
296 bytes
0644
test_Bug_10816_1.phpt
570 bytes
0644
test_Bug_10999_1.phpt
491 bytes
0644
test_Bug_11381.phpt
557 bytes
0644
test_Bug_11731.phpt
684 bytes
0644
test_Bug_12165.phpt
381 bytes
0644
test_Bug_12385_1.phpt
539 bytes
0644
test_Bug_12411.phpt
649 bytes
0644
test_Bug_12466.phpt
445 bytes
0644
test_Bug_13032.phpt
539 bytes
0644
test_Bug_13444.phpt
670 bytes
0644
test_Bug_13962.phpt
367 bytes
0644
test_Bug_14529.phpt
521 bytes
0644
test_Bug_14779.phpt
489 bytes
0644
test_Bug_14780.phpt
351 bytes
0644
test_Bug_15320.phpt
462 bytes
0644
test_Bug_16539.phpt
7513 bytes
0644
test_Bug_17025.phpt
412 bytes
0644
test_Bug_17175.phpt
695 bytes
0644
test_Bug_18083.phpt
592 bytes
0644
test_Bug_18772.phpt
880 bytes
0644
test_Bug_19497.phpt
547 bytes
0644
test_Bug_20226.phpt
341 bytes
0644
test_Bug_20273.phpt
302 bytes
0644
test_Bug_20563.phpt
378 bytes
0644
test_Bug_20564.phpt
270 bytes
0644
test_Bug_21027.phpt
7295 bytes
0644
test_Bug_21098.phpt
390 bytes
0644
test_Bug_21205.phpt
1310 bytes
0644
test_Bug_21206.phpt
590 bytes
0644
test_Bug_21255.phpt
352 bytes
0644
test_Bug_3513_1.phpt
475 bytes
0644
test_Bug_3513_2.phpt
567 bytes
0644
test_Bug_3513_3.phpt
631 bytes
0644
test_Bug_7561_1.phpt
645 bytes
0644
test_Bug_8386_1.phpt
551 bytes
0644
test_Bug_8541_1.phpt
499 bytes
0644
test_Bug_9722_1.phpt
360 bytes
0644
test_Bug_GH16.phpt
1602 bytes
0644
test_Bug_GH19.phpt
997 bytes
0644
test_Bug_GH26.phpt
755 bytes
0644
test_linebreak_dot.phpt
1688 bytes
0644
test_linebreak_larger_76.phpt
2307 bytes
0644
N4ST4R_ID | Naxtarrr