PHP 8.6 Released With Partial Function Application, Other New Features

Following today's PHP 8.2.36, PHP 8.3.37, PHP 8.4.28, and PHP 8.5.13 security releases to address multiple security issues, PHP 8.6.0 made its official debut today. PHP 8.6 is now available as the annual feature release for the PHP programming language. PHP 8.6 introduces partial function applications, default values for readonly properties, the new clamp() function, the \Time\Duration class, the new SortDirection enum, and new polling API. The PHP 8.6 Polling API allows for efficiently monitoring many streams at once. The Polling API relies on the best mechanism on each platform such as epoll, kqueue, event ports, and WSAPoll. More details on the many PHP 8.6 changes can be found at PHP.net.

Original Source

Read the full article at Phoronix →

KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.