FilesystemIterator::key Retrieve the key for the current file &reftitle.description; public stringFilesystemIterator::key &reftitle.parameters; &no.function.parameters; &reftitle.returnvalues; Returns the pathname or filename depending on the set flags. See the FilesystemIterator constants. &reftitle.examples; <methodname>FilesystemIterator::key</methodname> example This example will list the contents of the directory containing the script. key() . "\n"; } ?> ]]> &example.outputs.similar; &reftitle.seealso; FilesystemIterator constants DirectoryIterator::key DirectoryIterator::getFilename DirectoryIterator::getPathname