Talk in English - UK at PHPBenelux Virtual Meetup - October 2020
View Slides: https://www.slideshare.net/MarkBakerUK/looping-the-loop-with-spl-iterators-238799795
Short URL: https://joind.in/talk/8d97f (QR-Code (opens in new window))
An often-forgotten part of PHP, just looking at the content list for the Standard PHP Library (SPL) Iterators in the PHP Docs can seem very confusing, and even reading the documentation on those Iterators doesn't really explain when or how they should be used.
But it's time to bring SPL Iterators out of the shadows with some real-world examples, explaining how they work, and how they can reduce complexity and improve readability of our code.
So join me on a roller-coaster ride as we loop through some of the most useful Iterators in the SPL toolbox, and learn how we can use their power and features to improve our work.