The EmptyIterator class

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

Introduction

The EmptyIterator class for an empty iterator.

Class synopsis

classEmptyIteratorimplementsIterator {
publiccurrent(): never
publickey(): never
publicnext(): void
publicrewind(): void
publicvalid(): false
}

Table of Contents

To Top