resource(%d) of type (stream)
-- Try to close the file pointer using closedir() --
+
Warning: closedir(): %d is not a valid Directory resource in %s on line %d
+bool(false)
-- Check file pointer: --
resource(%d) of type (stream)
*** Testing readdir() : usage variations ***
resource(%d) of type (stream)
+
Warning: readdir(): %d is not a valid Directory resource in %s on line %d
bool(false)
===DONE===
-- Open a file using fopen --
resource(%d) of type (stream)
-NULL
+
+Warning: rewinddir(): %d is not a valid Directory resource in %s on line %d
+bool(false)
-- Check if rewinddir() has repositioned the file pointer --
rewinddir() does not work on file pointers