PHP 8.6 is a significant update to the PHP language, with its release planned for November 19, 2026. This version introduces several new features designed to enhance the language's capabilities in areas such as code expressiveness, type safety, and I/O scalability.
One of the key features in PHP 8.6 is Partial Function Application. This allows developers to provide some arguments to a function in advance, using '?' and '...' as placeholders for the remaining arguments. The result is a Closure, which is only invoked once all necessary arguments are supplied, enabling more flexible function composition.
PHP 8.6 will also include a new `\Time\Duration` class. This class represents elapsed time with nanosecond precision, independent of specific dates or timezones. It can represent durations spanning over 250 years, making it suitable for tasks like defining timeouts or benchmarking code execution times with high accuracy.
The `Io\Poll` API is another addition, providing an efficient mechanism for monitoring multiple streams concurrently. It utilizes platform-specific optimizations such as epoll, kqueue, event ports, or WSAPoll, overcoming the scalability limitations of `stream_select()`. This API is intended to serve as a foundational component for event loop libraries like ReactPHP and AMPHP.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
PHP 8.6, scheduled for release on November 19, 2026, will include new features such as Partial Function Application, a Duration class, and an Io\Poll API. These additions aim to provide more expressive code, stronger types, and scalable I/O capabilities for the language.