PHP 8.6 Released With New Features and Safer Defaults
🐘 PHP 8.6 has arrived with partial function application, a Time\Duration class, a polling API for event loops and a new clamp() function. It also tightens session defaults and makes file operations report write failures more honestly. Post-quantum key encapsulation arrives in Sodium, while several legacy functions, including the mbstring regex family, are now deprecated. Teams should test login flows and error handling before upgrading.
