Weekly Digest - June 15, 2026
Scott Keck-Warren • June 15, 2026
Three posts this week about PHP's SPL, git workflows, and podcasting.
Stop Reinventing Data Structures: PHP's SPL Already Has What You Need
PHP has shipped SplQueue, SplStack, SplMinHeap, and friends since version 5.1, and most of us have been writing the same custom implementations anyway. This post is the one I wish I'd had before I built my own queue class and then found SplQueue an hour later. Beyond the wasted effort, there's a real performance argument to be made because array_shift() on a large array re-indexes the whole thing every call but SplQueue doesn't.
How to Use Git Rebase Without Breaking Your Team's History
Rebase gets a bad reputation because the first time most developers use it on a shared branch, they cause chaos. This phparch video/article walks through exactly why that happens (SHA rewriting), when rebase is actually the right call, and the golden rule that keeps everyone sane: never rebase commits others have worked off. Also covers --force-with-lease as the safer alternative to --force when you do need to push a rebased branch.
Stop Losing Track of Who You've Asked: A Simple Guest Tracking System
That moment of not knowing whether you've already reached out to a potential guest is more damaging than it sounds. It doesn't just cause awkward duplicate emails, it makes the whole outreach process feel like work, and friction is what kills podcasts slowly. This article covers building a simple guest tracking system (spreadsheet or purpose-built tool) so you always know exactly where every potential guest stands.
See you next Monday!