1--TEST--
2imap_search() with unique ID (SE_UID) flag
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("imapsearchuid");
13
14var_dump(imap_search($imap_mail_box, 'ALL', SE_UID));
15
16imap_close($imap_mail_box);
17
18?>
19--CLEAN--
20<?php
21$mailbox_suffix = 'imapsearchuid';
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
28array(6) {
29  [0]=>
30  int(1)
31  [1]=>
32  int(2)
33  [2]=>
34  int(7)
35  [3]=>
36  int(8)
37  [4]=>
38  int(9)
39  [5]=>
40  int(10)
41}
42