Search Results
DirectoryIterator::isDot (PHP 5, PHP 7, PHP 8) DirectoryIterator::isDot — Determine if current DirectoryIterator item is '.' or '..'
The isDot () function is a method belonging to PHP's DirectoryIterator class, a part of the Standard PHP Library (SPL). Its primary purpose is to identify special directory entries, specifically the current directory (.) and the parent directory (..).
DirectoryIterator::getType () - Determine the type of the current DirectoryIterator item DirectoryIterator::isDir () - Determine if current DirectoryIterator item is a directory
Determines if the current DirectoryIterator item is a directory and either . or ..
Nov 26, 2019 · The DirectoryIterator::isDot () function is an inbuilt function in PHP which is used to check the current DirectoryIterator item is '.' or '..' Syntax: bool DirectoryIterator::isDot( void ) Parameters: This function does not accept any parameters. Return Value: This function returns TRUE if the entry is . or .., otherwise FALSE. Below programs illustrate the DirectoryIterator::isDot ...
Determines if the current DirectoryIterator item is a directory and either . or ..
Determines if the current DirectoryIterator item is a directory and either . or ..
