rewinddir

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

rewinddir -- rewind directory handle

Description

void rewinddir (resource dir_handle)

Resets the directory stream indicated by dir_handle to the beginning of the directory.