PHP Manual
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Exceptions
Generators
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Context options and parameters
Supported Protocols and Wrappers
Extending Exceptions
Generators overview
Language Reference
PHP Manual
Generators
Table of Contents
Generators overview
Generator syntax
Comparing generators with Iterator objects