PHP | FilesystemIterator current() Function
The FilesystemIterator::current() function is an inbuilt function in PHP which is used to returns the file information of the current element. Syntax: mixed FilesystemIterator::current( void ) Parameters: This function does not accept any parameters. Return Value: This function returns the filename,