DirectoryIterator
PHP Manual

DirectoryIterator::isFile

(PHP 5 <= 5.1.1)

DirectoryIterator::isFileReturns true if file is a regular file

Description

bool DirectoryIterator::isFile ( void )
Warning

This function is currently not documented; only its argument list is available.

Checks if it's a regular file.

Parameters

This function has no parameters.

Return Values

TRUE if the entry is a regular file, otherwise FALSE


DirectoryIterator
PHP Manual