Skip to content
ΠΕΡΑ+applied imagination
NewsroomLet’s talk ↗

Models & tools / 21 November 2026

PHP 8.6 adds duration handling and an API for concurrent connections

The November 19 release introduces Partial Function Application, Duration and a shared foundation for asynchronous I/O libraries.

PHP creator Rasmus Lerdorf at the New Zealand PHP Conference, August 28, 2014.
Rasmus Lerdorf at the New Zealand PHP Conference, August 28, 2014. File photograph; it does not depict the PHP 8.6 release. William Stadtwald Demchick / Wikimedia Commons — CC BY-SA 4.0 · Usage terms · Resized without cropping or colour changes. Padding on share image.

PHP 8.6 was released on November 19, 2026, with changes to writing functions, measuring elapsed time and monitoring multiple connections. The web-application language's new version includes Partial Function Application, the Time\Duration class and a Polling API.

The first feature allows some function arguments to be supplied in advance, creating a function that waits for the remaining arguments. Duration expresses elapsed intervals independently of a calendar date or time zone, useful for timeouts and measurements.

Downloading is only part of an upgrade

The Polling API provides a common foundation for libraries such as ReactPHP and AMPHP to monitor multiple input and output streams using suitable operating-system mechanisms. It does not mean every existing application automatically becomes asynchronous.

The official migration guide from 8.5 highlights incompatibilities requiring testing before production use. The language's technical availability is distinct from compatibility across a particular application, its libraries and infrastructure.

The announcement lists individual performance improvements but provides no universal speed-up percentage for every website. The substantive change is the language's additional tools. Their effect on a service depends on which features it uses and the behaviour of its actual workload.

Our sources

AI tools assist our editors. Articles are published after human approval. Practical examples are ΠΕΡΑ analysis unless stated otherwise. How we work

PHPSoftware developmentOpen source