summaryrefslogtreecommitdiff
path: root/ext/imap/tests/imap_fetch_overview_variation6.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/imap/tests/imap_fetch_overview_variation6.phpt')
-rw-r--r--ext/imap/tests/imap_fetch_overview_variation6.phpt12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/imap/tests/imap_fetch_overview_variation6.phpt b/ext/imap/tests/imap_fetch_overview_variation6.phpt
index bdf05579de..4c2d3234f7 100644
--- a/ext/imap/tests/imap_fetch_overview_variation6.phpt
+++ b/ext/imap/tests/imap_fetch_overview_variation6.phpt
@@ -7,7 +7,7 @@ require_once(dirname(__FILE__).'/skipif.inc');
--FILE--
<?php
/* Prototype : array imap_fetch_overview(resource $stream_id, int $msg_no [, int $options])
- * Description: Read an overview of the information in the headers of the given message sequence
+ * Description: Read an overview of the information in the headers of the given message sequence
* Source code: ext/imap/php_imap.c
*/
@@ -47,17 +47,17 @@ function create_multipart_message($imap_stream, $mailbox) {
$part1["type"] = TYPEMULTIPART;
$part1["subtype"] = "mixed";
-
+
$part2["type"] = TYPETEXT;
$part2["subtype"] = "plain";
$part2["description"] = "imap_mail_compose() function";
$part2["contents.data"] = "message 1:xxxxxxxxxxxxxxxxxxxxxxxxxx";
-
+
$part3["type"] = TYPETEXT;
$part3["subtype"] = "plain";
$part3["description"] = "Example";
$part3["contents.data"] = "message 2:yyyyyyyyyyyyyyyyyyyyyyyyyy";
-
+
$file_handle = fopen(__FILE__, 'r+');
$file_size = 1;
@@ -69,12 +69,12 @@ function create_multipart_message($imap_stream, $mailbox) {
$part4['disposition'] = array ('filename' => 'Test');
$part4['type.parameters'] = array('name' => 'Test');
$part4["contents.data"] = base64_encode(fread($file_handle, 1));
-
+
$body[1] = $part1;
$body[2] = $part2;
$body[3] = $part3;
$body[4] = $part4;
-
+
$msg = imap_mail_compose($envelope, $body);
if (imap_append($imap_stream, $mailbox, $msg) === false) {