FilesystemIterator::keyRetrieve the key for the current file Beschreibung
public string FilesystemIterator::key
( void
)
Parameter-ListeDiese Funktion hat keine Parameter. RückgabewerteReturns the pathname or filename depending on the set flags. See the FilesystemIterator constants. Beispiele
Beispiel #1 FilesystemIterator::key example This example will list the contents of the directory containing the script.
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie: apple.jpg banana.jpg example.php Siehe auch
|