view vendor/pear/mail_mime/tests/test_Bug_20273.phpt @ 16:165944ca08e7

not using these after all
author Charlie Root
date Sat, 13 Jan 2018 09:45:02 -0500
parents 1e000243b222
children
line wrap: on
line source

--TEST--
Bug #20273  Mail_mimePart::encodeHeader() and TAB character
--SKIPIF--
--FILE--
<?php
include("Mail/mimePart.php");

$refs = "<test@domain.tld>\t<test2@domain.tld>";
$mime = new Mail_mimePart();
echo $mime->encodeHeader('References', $refs);
?>
--EXPECT--
<test@domain.tld> <test2@domain.tld>