--TEST-- Test imap_fetchbody() function : usage variation - diff data types as $msg_no arg --SKIPIF-- --FILE-- ===DONE=== --CLEAN-- --EXPECTF-- *** Testing imap_fetchbody() : usage variations *** Create a temporary mailbox and add 1 msgs .. mailbox '{%s}%s' created -- Iteration 1 -- Warning: imap_fetchbody(): Bad message number in %s on line %d bool(false) -- Iteration 2 -- %unicode|string%(%d) "1: this is a test message, please ignore%a" -- Iteration 3 -- Warning: imap_fetchbody(): Bad message number in %s on line %d bool(false) -- Iteration 4 -- Warning: imap_fetchbody(): Bad message number in %s on line %d bool(false) -- Iteration 5 -- Warning: imap_fetchbody(): Bad message number in %s on line %d bool(false) -- Iteration 6 -- Warning: imap_fetchbody(): Bad message number in %s on line %d bool(false) -- Iteration 7 -- Warning: imap_fetchbody(): Bad message number in %s on line %d bool(false) -- Iteration 8 -- Warning: imap_fetchbody(): Bad message number in %s on line %d bool(false) -- Iteration 9 -- Warning: imap_fetchbody(): Bad message number in %s on line %d bool(false) -- Iteration 10 -- Warning: imap_fetchbody(): Bad message number in %s on line %d bool(false) -- Iteration 11 -- Warning: imap_fetchbody(): Bad message number in %s on line %d bool(false) -- Iteration 12 -- %unicode|string%(%d) "1: this is a test message, please ignore%a" -- Iteration 13 -- Warning: imap_fetchbody(): Bad message number in %s on line %d bool(false) -- Iteration 14 -- %unicode|string%(%d) "1: this is a test message, please ignore%a" -- Iteration 15 -- Warning: imap_fetchbody(): Bad message number in %s on line %d bool(false) -- Iteration 16 -- Warning: imap_fetchbody() expects parameter 2 to be long, %unicode_string_optional% given in %s on line %d NULL -- Iteration 17 -- Warning: imap_fetchbody() expects parameter 2 to be long, %unicode_string_optional% given in %s on line %d NULL -- Iteration 18 -- Warning: imap_fetchbody() expects parameter 2 to be long, array given in %s on line %d NULL -- Iteration 19 -- Warning: imap_fetchbody() expects parameter 2 to be long, %unicode_string_optional% given in %s on line %d NULL -- Iteration 20 -- Warning: imap_fetchbody() expects parameter 2 to be long, %unicode_string_optional% given in %s on line %d NULL -- Iteration 21 -- Warning: imap_fetchbody() expects parameter 2 to be long, %unicode_string_optional% given in %s on line %d NULL -- Iteration 22 -- Warning: imap_fetchbody() expects parameter 2 to be long, object given in %s on line %d NULL -- Iteration 23 -- Warning: imap_fetchbody(): Bad message number in %s on line %d bool(false) -- Iteration 24 -- Warning: imap_fetchbody(): Bad message number in %s on line %d bool(false) ===DONE===