FilesystemIterator::current The current file &reftitle.description; public mixedFilesystemIterator::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; <methodname>FilesystemIterator::current</methodname> example This example will list the contents of the directory containing the script. current() . "\n"; } ?> ]]> &example.outputs.similar; &reftitle.seealso; FilesystemIterator constants DirectoryIterator::current DirectoryIterator::getFileName