--TEST-- Test rewinddir() function : usage variations - operate on a closed directory --SKIPIF-- --FILE-- getMessage(), "\n"; } ?> --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() -- rewinddir(): %s is not a valid Directory resource