ok

Mini Shell

Direktori : /proc/thread-self/root/opt/alt/php73/usr/share/pear/test/Mail_Mime/tests/
Upload File :
Current File : //proc/thread-self/root/opt/alt/php73/usr/share/pear/test/Mail_Mime/tests/test_Bug_20563.phpt

--TEST--
Bug #20563  isMultipart() method tests
--SKIPIF--
--FILE--
<?php
include("Mail/mime.php");

$mime = new Mail_mime;

echo ($mime->isMultipart() ? 'TRUE' : 'FALSE') . "\n";

$mime->setTXTBody('test');

echo ($mime->isMultipart() ? 'TRUE' : 'FALSE') . "\n";

$mime->setHTMLBody('test');

echo ($mime->isMultipart() ? 'TRUE' : 'FALSE') . "\n";

--EXPECT--
FALSE
FALSE
TRUE

Zerion Mini Shell 1.0