|
DirectoryIterator::nextMove forward to next DirectoryIterator item Description
public void DirectoryIterator::next()
Move forward to the next DirectoryIterator item. ParametersThis function has no parameters. Return ValuesNo value is returned. Examples
Example #1 DirectoryIterator::next example List the contents of a directory using a while loop.
The above example will output something similar to: . .. apple.jpg banana.jpg index.php pear.jpg See Also
|