|
DirectoryIterator::isFileDetermine if current DirectoryIterator item is a regular file Description
public bool DirectoryIterator::isFile
( void
)
Determines if the current DirectoryIterator item is a regular file. ParametersThis function has no parameters. Return Values
Returns Examples
Example #1 DirectoryIterator::isFile example This example will list all regular files in the directory containing the script.
<?php The above example will output something similar to: apple.jpg banana.jpg example.php pears.jpg See Also
|