php8.5
Home/ Manual/ stream / streamwrapper/ streamWrapper::dir_rewinddir

streamWrapper::dir_rewinddir

PHP function Edit on GitHub ✎

(PHP 4 >= 4.3.2, PHP 5, PHP 7, PHP 8)

Rewind directory handle

Description

streamWrapper::dir_rewinddir(): bool

This method is called in response to rewinddir().

Should reset the output generated by streamWrapper::dir_readdir. i.e.: The next call to streamWrapper::dir_readdir should return the first entry in the location returned by streamWrapper::dir_opendir.

Parameters Parameters

Return Values

Success

See Also

Source: reference/stream/streamwrapper/dir-rewinddir.xml · from the official PHP manual (php/doc-en)