PHP 8.6 is out:

The PHP development team announces the immediate availability of PHP 8.6.0. This release marks a major update to the PHP language.

Some of the highlights include:

  • Partial Function Application
  • New \Time\Duration class
  • New Io\Poll API for monitoring streams
  • New clamp() function
  • New SortDirection enum
  • Default values for readonly properties

Check out the 8.6 landing page for side by side comparisons on the changes since 8.5.