Elektrine lite

← Feed

@dima@dol.social

Post #4410834

2026-08-06 08:15 UTC

Good read on what is coming in PHP 8.6, out November 19. Partial function application is the one I keep rereading. str_replace(' ', '-', ?) gives you a closure with the rest prefilled, and it finally makes the pipe operator from 8.5 pleasant to use. Plus a Duration class, a built-in clamp, and session cookies defaulting to httponly and SameSite Lax, which should have been the default a decade ago. I did not pick this language 19 years ago. It picked me somehow. First thing that ran on the AppServ (does someone still remember it? 🥲 ), and everything after that followed from an accident. People have been burying it that entire time. It keeps getting quietly better instead. https://stitcher.io/blog/new-in-php-86 #PHP #PHP86 #WebDev #Programming #Backend #Blog #Thoughts

Replies (0)

No replies.