--TEST-- Test imap_fetchheader() function : usage variations - diff resource types as $stream_id --SKIPIF-- --FILE-- ===DONE=== --EXPECTF-- *** Testing imap_fetchheader() : usage variations *** -- File Resource opened with fopen() -- resource(%d) of type (stream) Warning: imap_fetchheader(): supplied resource is not a valid imap resource in %s on line %d bool(false) -- Directory Resource opened with opendir() -- resource(%d) of type (stream) Warning: imap_fetchheader(): supplied resource is not a valid imap resource in %s on line %d bool(false) ===DONE===