use this method and then if you try to use read (), you will start from the 1st item in the directory object
(PHP 4, PHP 5, PHP 7, PHP 8)
Directory::rewind — Reinicia el manejador de directorio
Versión | Descripción |
---|---|
8.0.0 | No se acepta ningún argumento. Anteriormente, un manejador de directorio podía ser pasado como argumento. |
use this method and then if you try to use read (), you will start from the 1st item in the directory object