--TEST-- Test imap_fetchbody() function : usage variation - different resources as $stream_id arg --SKIPIF-- --FILE-- ===DONE=== --EXPECTF-- *** Testing imap_fetchbody() : usage variations *** -- File Resource opened with fopen() -- resource(5) of type (stream) Warning: imap_fetchbody() expects at least 3 parameters, 2 given in %s on line %d NULL -- Directory Resource opened with opendir() -- resource(6) of type (stream) Warning: imap_fetchbody() expects at least 3 parameters, 2 given in %s on line %d NULL ===DONE===