DirectoryIterator::valid

DirectoryIterator::valid

(PHP 5, PHP 7)

DirectoryIterator::validCheck whether current DirectoryIterator position is a valid file

Description

public bool DirectoryIterator::valid ( void )

Check whether current DirectoryIterator position is a valid file.

Parameters

This function has no parameters.