IteratorIterator::rewind
LimitIterator
IteratorIterator
PHP Manual

# IteratorIterator::valid

(PHP 5 >= 5.1.0)

IteratorIterator::valid — Checks if the iterator is valid

### 설명

public bool IteratorIterator::valid ( void )

Checks if the iterator is valid.

### 인수

이 함수는 인수가 없습니다.

### 반환값

Returns `TRUE` if the iterator is valid, otherwise `FALSE`

### 참고

- iterator_count() - Count the elements in an iterator
- IteratorIterator::current - Get the current value

IteratorIterator::rewind
LimitIterator
IteratorIterator
PHP Manual