(PHP 5 >= 5.1.0, PHP 7)
AppendIterator::valid — Checks validity of the current element
Checks validity of the current element.
此函数没有参数。
Returns true if the current iteration is valid, false otherwise.
true
false