7 years ago 5,693 views
7 years ago 5,693 views
Presented by Eli White (@EliW)
October 19, 2017
Level up your code with the power of Iterators & Generators. Iterators were added in the SPL (Standard PHP Library) for many years but is still one of the less understood parts of the language. We will cover how to easily loop over your objects via the power of Iterators, and then move into one of the newer ways of doing this with Generators. Generators allow you to make almost anything able to be looped over, without the need to use the full Iterator interface. Come join us as we traverse these paths of code that will leave you looping with ease!