(PHP 5 >= 5.5.0, PHP 7, PHP 8)
Generator::current — Get the yielded value
This function has no parameters.
Returns the yielded value.