Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Rewind directory handle
<?php rewinddir(?resource $dir_handle = null): void
<?php     {

        assert(null !== $this->handle);



        rewinddir($this->handle);



        return true;

    }