DirectoryIterator::key

DirectoryIterator::key

(PHP 5, PHP 7)

DirectoryIterator::keyReturn the key for the current DirectoryIterator item

Description

public string DirectoryIterator::key ( void )

Get the key for the current DirectoryIterator item.

Parameters

This function has no parameters.

Return Values

The