(PHP 5 >= 5.1.0, PHP 7, PHP 8)
IteratorIterator::current — Get the current value
Get the value of the current element.
This function has no parameters.
The value of the current element.