|
| |||
|
|
Garfield: A Look at PHP's Continuing Evolution Larry Garfield introduces some recent changes to the PHP language. "PHP 5.5 added a feature called generators. Generators are in some sense a greatly abbreviated syntax for iterators, but being so simple makes them considerably more powerful. Essentially, a generator is just a function that returns-and-pauses rather than returns-and-ends, and what is returned is not a value but an iterator." |
|||||||||||||