--TEST-- Test rewinddir() function : usage variations - operate on a closed directory --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(): Argument #1 ($dir_handle) must be an open stream resource