(PHP 5 >= 5.1.0, PHP 7) Returns an iterator for the current entry if it is a directory
(PHP 5 >= 5.1.2, PHP 7) Constructs a RecursiveDirectoryIterator
(PHP 5, PHP 7) Return path and filename of current dir entry
(PHP 5, PHP 7) Move to next entry public void
(PHP 5, PHP 7) Rewind dir back to the start public
(PHP 5 >= 5.1.0, PHP 7) Get sub path and name
(PHP 5, PHP 7) Returns whether current entry is a directory and not '.' or '..'
(PHP 5 >= 5.1.0, PHP 7) Get sub path public