-
Recent Posts
Recent Comments
Archives
- June 2025
- May 2025
- April 2025
- February 2025
- December 2024
- October 2024
- September 2024
- September 2023
- May 2023
- April 2023
- February 2023
- June 2022
- May 2022
- March 2022
- December 2021
- November 2021
- October 2021
- September 2021
- January 2021
- November 2020
- September 2020
- July 2020
- January 2020
- December 2019
- July 2019
- December 2018
- June 2018
- April 2018
- March 2018
- January 2018
- November 2017
- September 2017
- July 2017
- March 2017
- December 2016
- October 2016
- August 2016
- July 2016
- June 2016
- May 2016
- April 2016
- January 2016
Categories
Meta
-
Recent Posts
Recent Comments
Archives
- June 2025
- May 2025
- April 2025
- February 2025
- December 2024
- October 2024
- September 2024
- September 2023
- May 2023
- April 2023
- February 2023
- June 2022
- May 2022
- March 2022
- December 2021
- November 2021
- October 2021
- September 2021
- January 2021
- November 2020
- September 2020
- July 2020
- January 2020
- December 2019
- July 2019
- December 2018
- June 2018
- April 2018
- March 2018
- January 2018
- November 2017
- September 2017
- July 2017
- March 2017
- December 2016
- October 2016
- August 2016
- July 2016
- June 2016
- May 2016
- April 2016
- January 2016
Categories
Meta
Author Archives: Mark Baker
Spreading the News – An Exploration of PHP’s Spread Operator
A few days ago, I wrote about array unpacking and variadic arguments in PHP8. I’m a big fan of these features, and use them extensively, and the changes in PHP8 make them even more useful.
Named Arguments and Variadics in PHP 8
One of the new features of PHP 8 is named arguments. It’s one of those features that I love as an end user developer; although it can be a nightmare for library and framework developers, because argument names are now … Continue reading
Confronting our Demons
Confronting our own inner demons is the hardest battle we ever have to face, especially when they’re so deep-rooted after so many years: filling in the holes that each leaves behind with hope, because that’s all that I have at … Continue reading
A Reverse-Retrospective: Places that I’m looking forward to visiting in 2021
With all the closures and travel restrictions in place during last year, there are so many places that I wanted to visit, but wasn’t able to. So rather than a look back at last year (with so much trauma and negativity), I’m going to look forward (and positively) to where I’ll be able to go this year as lockdown eases, and travel becomes possible again. There are so many places in Europe and across the world that I want to go, but I’m going to limit myself to the Netherlands at the moment, places just a few hours drive or train journey from where I live. Continue reading
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
An Attempt at Poetry
It’s been nearly two months since my last post, two months trying to pull myself out from the state that I’d got myself into. 2020 isn’t a forgiving year, and I’m hurting myself and others with the darkness that I’ve … Continue reading
Fear and Self-Loathing in Amsterdam
I must not fear. Fear is the mind-killer. Fear is the little-death that brings total obliteration. I will face my fear. I will permit it to pass over me and through me. And when it has gone past I … Continue reading
Citizen of Nowhere
Tonight at midnight (local time) I become a “citizen of nowhere”.
Posted in Uncategorized
Leave a comment
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