Get current element

# RecursiveTreeIterator::current

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

RecursiveTreeIterator::current — Get current element

### Description

public RecursiveTreeIterator::current(): mixed

Gets the current element prefixed and postfixed.

Warning

This function is currently not documented; only its argument list is available.

### Parameters

This function has no parameters.

### Return Values

Returns the current element prefixed and postfixed.

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open