Thanks to visit codestin.com Credit goes to www.php.net
(PHP 8)
InternalIterator::current — Return the current element
Returns the current element.
This function has no parameters.