7 days of WordPress plugins, themes & templates - for free!* Unlimited asset downloads! Start 7-Day Free Trial

Next lesson playing in 5 seconds

Cancel
  • Overview
  • Transcript

4.1 Conclusion

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!

4.1 Conclusion

And that's how to use SPL iteraters in PHP. Classes which allow you to use PHPs looping constructs to iterate over your data in a more powerful, flexible, and elegant way than you've done before. Admittedly, we've only just scratched the surface of what's possible, and there's quite a number of iteraters which you can use in addition to the other SPL objects and interfaces and exceptions. But I hope that this short course has whet your appetite for taste of what is possible, and finally I strongly, strongly, strongly encourage you to try them out in your own applications and see how you can minimize the amount of code that you need to write on a regular basis.

Back to the top