Skip to content

Tag Archives: PHP-Iterators

The DirectoryIterator::rewind() function is an inbuilt function in PHP which is used to rewind the DirectoryIterator back to the start position. Syntax: void DirectoryIterator::rewind( void… Read More
The FilesystemIterator::key() function is an inbuilt function in PHP which is used to retrieve the key for the current file. Syntax: string FilesystemIterator::key( void )… Read More
The FilesystemIterator::next() function is an inbuilt function in PHP which is used to move to the next file element. Syntax: void FilesystemIterator::next( void ) Parameters:… Read More
The DirectoryIterator::isLink() function is an inbuilt function in PHP which is used to check the current DirectoryIterator item is a symbolic link or not. Syntax:… Read More
The DirectoryIterator::__toString() function is an inbuilt function in PHP which is used to return the file name of the current DirectoryIterator item. Syntax: string DirectoryIterator::__toString(… Read More
The DirectoryIterator::key() function is an inbuilt function in PHP which is used to return the key for the current DirectoryIterator item. Syntax: string DirectoryIterator::key( void… Read More
The DirectoryIterator::seek() function is an inbuilt function in PHP which is used to seek the DirectoryIterator item to the given position. Syntax: void DirectoryIterator::seek( int… Read More
The DirectoryIterator::isReadable() function is an inbuilt function in PHP which is used to check the current DirectoryIterator item is readable or not. Syntax: bool DirectoryIterator::isReadable(… Read More
The DirectoryIterator::next() function is an inbuilt function in PHP which is used to move forward to the next DirectoryIterator item. Syntax: void DirectoryIterator::next( void )… Read More
The FilesystemIterator::rewind() function is an inbuilt function in PHP which is used to rewinds back to the beginning of the file. Syntax: void FilesystemIterator::rewind( void… Read More
The DirectoryIterator::valid() function is an inbuilt function in PHP which is used to check the current DirectoryIterator position is a valid file or not. Syntax:… Read More
The FilesystemIterator::getFlags() function is an inbuilt function in PHP which is used to get the handling flags. Syntax: int FilesystemIterator::getFlags( void ) Parameters: This function… Read More
The DirectoryIterator::isWritable() function is an inbuilt function in PHP which is used to check the current DirectoryIterator item can be written or not. Syntax: bool… Read More
The FilesystemIterator::__construct() function is an inbuilt function in PHP which is used to construct a new filesystem iterator. Syntax: public FilesystemIterator::__construct( string $path, int $flags… Read More
The FilesystemIterator::setFlags() function is an inbuilt function in PHP which is used to set the handling flags. Syntax: void FilesystemIterator::setFlags( int $flags ) Parameters: This… Read More