1--TEST--
2imap_fetchheader() passing a unique ID
3--SKIPIF--
4<?php
5require_once(__DIR__.'/setup/skipif.inc');
6?>
7--FILE--
8<?php
9
10require_once(__DIR__.'/setup/imap_include.inc');
11
12$imap_mail_box = setup_test_mailbox_for_uid_tests("imapfetchheaderuid", $msg_no, $uid);
13
14var_dump(imap_fetchheader($imap_mail_box, $uid, FT_UID) === imap_fetchheader($imap_mail_box, $msg_no));
15
16imap_close($imap_mail_box);
17
18?>
19--CLEAN--
20<?php
21$mailbox_suffix = 'imapfetchheaderuid';
22require_once(__DIR__ . '/setup/clean.inc');
23?>
24--EXPECT--
25Create a temporary mailbox and add 10 msgs
26New mailbox created
27Delete 4 messages for Unique ID generation
28bool(true)
29