FilesystemIterator::keyRetrieve the key for the current file
&reftitle.description;
publicstringFilesystemIterator::key
&reftitle.parameters;
&no.function.parameters;
&reftitle.returnvalues;
Returns the pathname or filename depending on the set flags.
See the FilesystemIterator constants.
&reftitle.examples;
FilesystemIterator::key example
This example will list the contents of the directory containing the script.
key() . "\n";
}
?>
]]>
&example.outputs.similar;
&reftitle.seealso;
FilesystemIterator constantsDirectoryIterator::keyDirectoryIterator::getFilenameDirectoryIterator::getPathname