Directory::rewind

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

Directory::rewind — Перемещает дескриптор каталога в начало каталога

Описание

public function Directory::rewind(): void

Список изменений

Версия Описание
8.0.0 Параметры не принимаются. Раньше в качестве аргумента можно было передать дескриптор каталога.

Примечания пользователей 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
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top