php8.5
Home/ Manual/ spl / recursivedirectoryiterator/ RecursiveDirectoryIterator::key

RecursiveDirectoryIterator::key

PHP function Edit on GitHub ✎

(PHP 5, PHP 7, PHP 8)

Return path and filename of current dir entry

Description

RecursiveDirectoryIterator::key(): string

Func

Parameters Parameters

Return Values

The path and filename of the current dir entry.

Source: reference/spl/recursivedirectoryiterator/key.xml · from the official PHP manual (php/doc-en)