Iterator
Iterator posts, videos, courses, and more
Ghost · 4 years ago
The Utility of PHP Generators
A generator in PHP is a function that allows us to iterate over data without needing to build an array in memory. Unlike a standard function, which can return only a single value, a generato...
1
Loading More Content