Thanks to visit codestin.com Credit goes to www.php.net
(PHP 5, PHP 7, PHP 8)
Iterator::current — Return the current element
Returns the current element.
This function has no parameters.
Can return any type.