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.