PHP 8.4.26 Released!

Directory::rewind

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

Directory::rewind — Reinicia el manejador de directorio

Descripción

public function Directory::rewind(): void

Historial de cambios

Versión Descripción
8.0.0 No se acepta ningún argumento. Anteriormente, un manejador de directorio podía ser pasado como argumento.
+add a note

User Contributed Notes 1 note

up
-2
cjcxxh at 163 dot com
3 years 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