# MultipleIterator::valid

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

MultipleIterator::valid — Checks the validity of sub iterators

### 说明

public MultipleIterator::valid(): bool

Checks the validity of sub iterators.

警告

本函数还未编写文档，仅有参数列表。

### 参数

此函数没有参数。

### 返回值

Returns `true` if one or all sub iterators are valid depending on flags, otherwise `false`

### 参见

- MultipleIterator::__construct() - Constructs a new MultipleIterator

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open