Back to Vol 18, Issue 6

PHP Architect · Vol 18, Issue 6 · June 2019

Map, Filter, and Reduce in PHP

by Derek Binkley

Even though MapReduce was created for parallelization, which PHP does not natively support, the syntax is supported. In this article, I outline how to use map, filter, and reduce with PHP collections and the benefits you can gain over traditional for loops.

The full article is in PHP Architect Vol 18, Issue 6. Subscribe to read it and every new issue.

Subscribe
Derek Binkley

About the author

Derek Binkley

Derek is the Technical Lead at the National Conference of Bar Examiners, the creator of licensing exams for attorneys. He actively mentors other developers, specializes in Java, PHP, JavaScript, MySQL and Oracle and advocates for accessible design of websites and applications. When not in front of a computer he enjoys spending time with family, traveling and drinking a local craft beer.

Our Partners

Collaborating with industry leaders to bring you the best PHP resources and expertise

Interested in partnering? Get in touch →