Irritating Strings and Iterating Things

A session at Lone Star PHP 2017

Friday 21st April, 2017

11:00am to 11:50am (CST)

Arrays are beautiful in PHP. One can map them, reduce them, filter them, foreach them, and use them in generators. Strings, on the other hand, are mere shadows to the Array. One can, uh, input and output Strings, and, when brave, manipulate them. What makes Arrays so awesome and Strings so dull? Iterators.

In this talk, we’ll look at the modest origins of the String and the basics of the Iterator. Then, we’ll look at how we can make the String as awesome as the Array through the use of iterator interfaces.

By the end of this talk, you will know the origins of the PHP String and you will be able to extend your knowledge of iterating through a String to be able to iterate through customized objects.

About the speaker

This person is speaking at this event.
Poetaster Ordinaire

Gentle coder, reader, and dad. Co-organizer of @kcphpug, lead mentor of @CoderDojoKC. bio from Twitter

Sign in to add slides, notes or videos to this session

Tell your friends!

When

Time 11:00am11:50am CST

Date Fri 21st April 2017

Short URL

lanyrd.com/sfqfhr

Official event site

lonestarphp.com

View the schedule

Share

See something wrong?

Report an issue with this session