2 Bug #21206 Handling quoted strings
6 require_once('Mail/mimePart.php');
7 class X extends Mail_mimePart {
8 public static function explodeQuotedString($delimiter, $string){
9 return Mail_mimePart::explodeQuotedString($delimiter, $string);
14 '"a" <a@a.a>, b <b@b.b>',
15 '"c\\\\" <c@c.c>, d <d@d.d>',
17 foreach ($tests as $test) {
18 $addrs = X::explodeQuotedString('[\t,]', $test);
19 foreach ($addrs as $addr) {
20 print trim($addr) . PHP_EOL;