PHP 8.2.4 Released!

Directory::rewind

(PHP 4, PHP 5, PHP 7, PHP 8)

Directory::rewindRebobina el manejador de directorio

Descripción

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

Igual a rewinddir(), dir_handle por defecto $this->handle.

add a note

User Contributed Notes 1 note

up
0
cjcxxh at 163 dot com
18 days 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