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