Checks whether the current element is valid

# EmptyIterator::valid

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

EmptyIterator::valid — Checks whether the current element is valid

### 说明

public function EmptyIterator::valid(): false

Checks whether the current element is valid.

> 注意:

> The EmptyIterator is always empty and will never have a valid value. The return value is always `false`.

### 参数

此函数没有参数。

### 返回值

`false`

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