Directory::rewind

(PHP 4, PHP 5, PHP 7)

Directory::rewindRewind directory handle

Descrierea

public Directory::rewind ( resource $dir_handle = ? ) : void

Same as rewinddir(), only dir_handle defaults to $this->handle.

add a note add a note

User Contributed Notes 1 note

up
1
cjcxxh at 163 dot com
1 year ago
use this method and then if you try to use read (), you will start from the 1st item in the directory object
To Top