InternalIterator::valid (PHP 8)InternalIterator::valid — 检测当前位置是否有效 说明 public InternalIterator::valid(): bool 检测当前位置是否有效。 参数 此函数没有参数。 返回值 返回当前位置是否有效。