RecursiveTreeIterator::valid

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

RecursiveTreeIterator::validCheck validity

說明

public RecursiveTreeIterator::valid(): bool

Check whether the current position is valid.

警告

本函數(shù)還未編寫文檔,僅有參數(shù)列表。

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

true if the current position is valid, otherwise false