Generators: All About the Yield

March 2018 – EU

Presented by Justin Yost (@justinyost)

Date: March 22, 2018
Time: 20:00 CET

19:00 GMT, 14:00 DCT, 12:00 PDT
Not sure of the time in your area? Check it on

This meeting is over, but you can still purchase the video.

Purchase Video

Generators are a relatively unexplored feature of PHP. Coming about in PHP 5.5, Generators provide for the ability to write Iterator style code without a lot of upfront work. In addition to that Generators provide for some amazing abilities to write coroutines in PHP that we previously didn’t have. Generators are at their core a tool to enable us to write code that can solve entire classes of problems that beforehand would have been exceedingly hard to do before hand. Perhaps most importantly, generators are fun to explore.

Justin Yost

Justin Yost

Justin graduated from Texas Tech University with a bachelor’s degree in Computer Science. Justin relishes programming and learning more about anything and everything. When not working as a Software Engineer with Wirecutter, Justin occasionally gives talks at the local PHP Meetup and is current course author for LinkedIn Learning on CakePHP, PHP, Ember.js and other topics. In his free time, Justin enjoys backpacking and reading science fiction books.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>