Lines Matching refs:rewinddir
2 Test rewinddir() function : usage variations - file pointers
6 * Pass a file pointer to rewinddir() to test behaviour
9 echo "*** Testing rewinddir() : usage variations ***\n";
17 var_dump(rewinddir($fp));
23 echo "\n-- Check if rewinddir() has repositioned the file pointer --\n";
25 echo "rewinddir() works on file pointers\n";
27 echo "rewinddir() does not work on file pointers\n";
31 *** Testing rewinddir() : usage variations ***
35 rewinddir(): Argument #1 ($dir_handle) must be a valid Directory resource
37 -- Check if rewinddir() has repositioned the file pointer --
38 rewinddir() does not work on file pointers