--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) -- unicode(1) "." unicode(2) ".." unicode(9) "file1.tmp" NULL unicode(1) "." -- Read and rewind second directory (no argument supplied) -- unicode(1) "." unicode(2) ".." unicode(9) "file2.tmp" NULL unicode(1) "." ===DONE===