-
Recent Posts
Recent Comments
Archives
Categories
Meta
Tag Archives: Iterators
Under the Radar? A Backwards-Compatible Break for SPLFixedArray in PHP 8
The official release date for PHP 8 is 26th November, just 9 days away, so we’re almost into the last week; and I’ve just discovered a change to SPLFixedArray that I wasn’t previously aware about. While not many developers use … Continue reading
Filtering and Mapping with SPL Iterators
Four or five years ago, the most popular talk that I gave at conferences was entitled “A Functional Guide to Cat Herding with PHP Generators” (the cats proved a very enjoyable talking point at every event where I gave it, … Continue reading
Posted in PHP
Tagged CallbackFilterIterator, FilterIterator, IteratorIterator, Iterators, PHP, SPL
Leave a comment
Parallel Looping in PHP with SPL’s MultipleIterator
There was a time, back when I was working with PHP 5, when I found the Standard PHP Library (SPL) an extremely powerful and useful toolbox; and I particularly enjoyed working with SPL’s Iterators and Datastructures. Sadly, SPL was always … Continue reading