public function dir_readdir()
    {
        $current = current($this->listing);
        next($this->listing);

        return $current ? $current['path'] : false;
    }
public function dir_readdir()
    {
        $current = current($this->listing);
        next($this->listing);

        return $current ? $current['path'] : false;
    }
public function dir_readdir ( ) { $ current = current ( $ this -> listing ) ; next ( $ this -> listing ) ; return $ current ? $ current [ 'path' ] : false ; }
Reads an entry from directory handle.

@return string|bool The next filename, or false if there is no next file.
Reads an entry from directory handle .