Hacked By AnonymousFox

Current Path : /opt/cloudlinux/alt-php55/root/usr/share/pear/test/Mail_Mime/tests/
Upload File :
Current File : //opt/cloudlinux/alt-php55/root/usr/share/pear/test/Mail_Mime/tests/test_Bug_14780.phpt

--TEST--
Bug #14780  Invalid Content-Type when headers() is called before get()
--SKIPIF--
--FILE--
<?php
include("Mail/mime.php");

$mime = new Mail_mime();
$mime->setTXTBody("test");
$mime->setHTMLBody("test");

$head1 = $mime->headers();
$body = $mime->get();
$head2 = $mime->headers();

if ($head1 === $head2) {
    echo "OK";
}

?>
--EXPECT--
OK

Hacked By AnonymousFox1.0, Coded By AnonymousFox