--TEST-- Test rewinddir() function : usage variations - operate on a closed directory --FILE-- ===DONE=== --CLEAN-- --EXPECTF-- *** Testing rewinddir() : usage variations *** -- Create the directory handle, read and close the directory -- resource(%d) of type (stream) string(%d) "%s" -- Call to rewinddir() -- Warning: rewinddir(): supplied resource is not a valid Directory resource in %s on line %d bool(false) ===DONE===