PHP.nl

rewinddir

rewinddir

Rewind directory handle

void **rewinddir**  $dir_handle

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

dir_handle A directory handle previously opened with . If is null the last handle opened using will be used. resource``opendir``dir_handle``opendir

return.void

For a complete example refer to the documentation. opendir

opendir``readdir``closedir``dir``is_dir``glob``scandir