Does it make sense to write tests for enums?
I feel kind of like I should, just like I feel like I should write tests for public constants. If someone changes the static value, I want a test to complain about it, but PHPStan complains about me writing these tests because “it will always be true.” Until someone or some AI agent decides to change it.
Thoughts?
Where did we ever land on traits with interfaces? I see this RFC from 2016 (TEN YEARS AGO!), but I swear it was something discussed more recently leading up to 8.4 or 8.5. Was there a more recent effort to adopt them, or was I dreaming that?
Do you have any PHP projects running on Dreamhost? If you haven't checked in on them in a while, *HEADS UP!*
Dreamhost may be charging you $5/month if your website is on an unsupported PHP version. That’s anything below 8.2.
PHP 8.5 Active Support
PHP 8.4 Active Support
PHP 8.3 Security Updates only
PHP 8.2 Security Updates only
Try to update your PHP to at least 8.4 so you get active support, and your developers can do *even more awesome things*
🚨 CVE-2026-3826 (CRITICAL): WellChoose IFTOP PHP LFI lets unauthenticated attackers execute remote code. No patch yet. Isolate affected systems & monitor for LFI attempts. Act now to avoid full compromise! https://radar.offseq.com/threat/cve-2026-3826-cwe-98-improper-control-of-filename--e68c5a28 #OffSeq #Infosec #PHP #Vulnerability
Does everyone need to have an immediate opinion on AI? In this week's podcast, Aaron and I discuss why waiting to build deeper knowledge before sharing opinions is not the same as being against new technology. #php #laravel https://masteringlaravel.io/daily/2026-03-09-laravel-podcast-being-anti-hype-does-not-mean-being-anti-ai
Subscribe to #php entries via RSS feed