And that's how to use SPL iterators in PHP. These classes allow you to use PHP's looping constructs to iterate over your data in a more powerful, readable, and elegant way than ever before.
We've only just scratched the surface here, and there are quite a number of other SPL classes and interfaces that you can use. I hope this course has whetted your appetite with a taste of what's possible!
I'm Matthew Setter and from all of us here at Envato Tuts+, thanks for watching!