Menu

1 / 5

PHP 8.6: New Features, Breaking Changes, and Why Laravel Isn't Faster

DEV Community: laravel·Alan West·10 days ago
#e9ZW6z4W
#devtolaravel#devto#dev#deprecated#laravel
Long article (1610 words) — no AI summary yet.
Reading 0:00
15s threshold

PHP 8.6.0 shipped on November 19, 2026. If you're hoping it makes your Laravel app faster, it won't. In Tideways' benchmark, Laravel 13 did 792.70 requests per second on PHP 8.5 and 792.33 on PHP 8.6.

I'm upgrading anyway. The new stuff in 8.6 is language and stdlib work: partial function application, clamp() , a real Duration type, an epoll/kqueue polling API. Some of it is the best PHP has shipped in years. The cost is a long deprecation list and a handful of quiet breaking changes, including new session cookie defaults, that the feature tours skip. I went through the official release page and UPGRADING for both halves, and checked whether Laravel, Symfony and WordPress support PHP 8.6 yet.

The 6 new PHP 8.6 features I'd upgrade for

Partial function application (PFA)

Use ? for one missing argument and ... for the rest, and you get a Closure back. This is the feature I'll use every day:

$supportsPfa = array_filter ( $versions , version_compare ( ?…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.