Login
22
Day:
Sunday
Time:
1:30p
Room:
Doheny Beach B
WTH is a Generator?
It's a feature of PHP 5.5 which allows you to iterate a function. Er, excuse me, I meant to say use functions as iterators. Or, maybe I meant to say you could yield values as array elements.
What?
Fear not, it will all be clear.
We will undertake a breezy recap of arrays and Iterators, and then delve into their differences from and similarities to generators.
In the process we'll touch on some areas of the SPL which you may or may not have ever seen before. Embrace the mystery! And stuff!
This is listed as a beginner session, but we'll move quickly through these topics.
Category:
PHP
Skill:
Beginner
Duration:
15-20 minutes
- Log in to post comments