RecursiveTreeIterator::valid (PHP 5 >= 5.3.0, PHP 7, PHP 8)RecursiveTreeIterator::valid — Check validity 说明 public RecursiveTreeIterator::valid(): bool Check whether the current position is valid. 警告本函数还未编写文档,仅有参数列表。 参数 此函数没有参数。 返回值 true if the current position is valid, otherwise false