PHP rewinddir() Function
In this article, you will learn how to reset the directory handle in PHP. The rewinddir() function in PHP resets the directory handle created by opendir(). It clears all the options applied to the handle and return to its very first state. what is the syntax of the REWINDDIR() function in php? Parameter Description dir …