Directory::rewind
(PHP 4, PHP 5)
Directory::rewind — Rewind directory handle
Описание
public void Directory::rewind
([ resource
$dir_handle
] )
Same as rewinddir(), only
dir_handle
defaults to $this.
(PHP 4, PHP 5)
Directory::rewind — Rewind directory handle
$dir_handle
] )
Same as rewinddir(), only
dir_handle
defaults to $this.
Коментарии
use this method and then if you try to use read (), you will start from the 1st item in the directory object