PHP 8.6 replaces the min() and max() sandwich with one call: clamp().
Pass the bounds in the wrong order and it throws a ValueError. I wrote up the gotchas.

PHP 8.6 replaces the min() and max() sandwich with one call: clamp().
Pass the bounds in the wrong order and it throws a ValueError. I wrote up the gotchas.
As PHP 8.6 is due out tomorrow, November 19th, 2026, let's look at the most noteworthy changes in the next release; what they do, and where to find find out more about them: matthewsetter.com/blog/item/ph...
As PHP 8.6 is due out tomorrow, November 19th, 2026, let's look at the most noteworthy changes in the next release; what they do, and where to find find out more about them: matthewsetter.com/blog/item/ph...
PECL, the old home of PHP extensions, now has a proposed shutdown date. The first draft said the end of 2029. Six days later, after one misread word, it's the end of 2027, and the person who was misread is okay with it.
The PHP London group will have a social meet-up next week, near Tottenham Court Road.
On PHP 8.6 release day!
Chat, drinks, and elephpants, what more do you need?
https://www.meetup.com/phplondon/events/317383485/
PHP 8.6 lets me skip the arrow function when I need to leave one argument open. I wrote up how the placeholders work.
Myth: a state machine in PHP means pulling in a package.
That's a backed enum and a match with no default, so if you add a case and forget to list it, PHP throws.
Every status column is a state machine, but most apps never write down the rules.
I built one with a PHP 8.6 enum for the legal moves and a role check for who can make them.
https://www.phparch.com/2026/10/php-8-6-makes-state-machines-easy-enums-roles/
Two critical PHP vulnerabilities, rated 9.2. Their CVE numbers leaked a day before the fix, and some governments took their own sites offline rather than run unpatched. Two weeks of PHP Internals in one episode.