← All stories
● Covered by 1 source · 1 reportMedium impact1 neutral

PHP 8.6 Introduces Partial Function Application, Duration Class, and Polling API

🔄 Updated 2d ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • PHP 8.6 to be released on November 19, 2026.
  • Includes Partial Function Application for deferred argument passing.
  • New Duration class for precise time representation.
  • Io\Poll API for efficient, scalable stream monitoring.

Upcoming PHP 8.6 Release

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.

Partial Function Application

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.

New Duration Class

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.

Scalable Io\Poll API

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 →

The daily brief

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.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~4 min · 3 stories · Nov 21

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

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.