RecursiveTreeIterator::key
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
Get the key of the current element
Description
RecursiveTreeIterator::key(): mixed
Gets the current key prefixed and postfixed.
Func
Parameters Parameters
Return Values
Returns the current key prefixed and postfixed.