(PHP 5 >= 5.5.0)
Generator::valid — Check if the iterator has been closed
У этой функции нет параметров.
Returns FALSE if the iterator has been closed. Otherwise returns TRUE.
FALSE
TRUE