FilesystemIterator::currentThe current file
&reftitle.description;
publicmixedFilesystemIterator::current
Get file information of the current element.
&reftitle.parameters;
&no.function.parameters;
&reftitle.returnvalues;
The filename, file information, or $this depending on the set flags.
See the FilesystemIterator constants.
&reftitle.examples;
FilesystemIterator::current example
This example will list the contents of the directory containing the script.
current() . "\n";
}
?>
]]>
&example.outputs.similar;
&reftitle.seealso;
FilesystemIterator constantsDirectoryIterator::currentDirectoryIterator::getFileName