--TEST-- Test rewinddir() function : basic functionality --FILE-- ===DONE=== --CLEAN-- --EXPECTF-- *** Testing rewinddir() : basic functionality *** resource(%d) of type (stream) resource(%d) of type (stream) -- Read and rewind first directory (argument supplied) -- array(3) { [0]=> unicode(1) "." [1]=> unicode(2) ".." [2]=> unicode(9) "file1.tmp" } NULL bool(true) -- Read and rewind second directory (no argument supplied) -- array(3) { [0]=> unicode(1) "." [1]=> unicode(2) ".." [2]=> unicode(9) "file2.tmp" } NULL bool(true) ===DONE===