Lines Matching refs:rewinddir
2 Test rewinddir() function : usage variations - file pointers
5 /* Prototype : void rewinddir([resource $dir_handle])
12 * Pass a file pointer to rewinddir() to test behaviour
15 echo "*** Testing rewinddir() : usage variations ***\n";
21 var_dump(rewinddir($fp));
24 echo "\n-- Check if rewinddir() has repositioned the file pointer --\n";
26 echo "rewinddir() works on file pointers\n";
28 echo "rewinddir() does not work on file pointers\n";
33 *** Testing rewinddir() : usage variations ***
38 Warning: rewinddir(): %d is not a valid Directory resource in %s on line %d
41 -- Check if rewinddir() has repositioned the file pointer --
42 rewinddir() does not work on file pointers