phpday 2027 - Call for Papers

FilterIterator::valid

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

FilterIterator::valid — 現在の要素が有効かどうかをチェックする

説明

public function FilterIterator::valid(): bool
警告

この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。

現在の要素が有効かどうかをチェックします。

注意:

この関数の標準的な実装は、 内部のイテレータが最初の有効な要素に進むまで、 まず false を返します。

パラメータ

この関数にはパラメータはありません。

戻り値

現在の要素が有効である場合に true、そうでない場合に false を返します。

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top