--TEST-- Test imap_fetchheader() function : usage variations - $msg_no argument --SKIPIF-- --FILE-- ===DONE=== --CLEAN-- --EXPECTF-- *** Testing imap_fetchheader() : usage variations *** Create a temporary mailbox and add 3 msgs .. mailbox '{localhost/norsh}INBOX.phpttest' created -- $msg_no is 0 -- Warning: imap_fetchheader(): Bad message number in %s on line %d bool(false) -- $msg_no is 4 -- Warning: imap_fetchheader(): Bad message number in %s on line %d bool(false) -- $msg_no is 1,3 -- Notice: A non well formed numeric value encountered in %s on line %d %unicode|string%(%d) "From: foo@anywhere.com Subject: Test msg 1 To: webmaster@something.com MIME-Version: 1.0 Content-Type: MULTIPART/mixed; BOUNDARY="%s" " -- $msg_no is 1:3 -- Notice: A non well formed numeric value encountered in %s on line %d %unicode|string%(%d) "From: foo@anywhere.com Subject: Test msg 1 To: webmaster@something.com MIME-Version: 1.0 Content-Type: MULTIPART/mixed; BOUNDARY="%s" " ===DONE===