PHP 8.6 Released
“PHP 8.6 is a major update of the PHP language, with new features including Partial Function Application, a new Duration class, a Polling API, and a new clamp() function”
Jump to Highlight ↗
Allows some of a function's arguments to be provided in advance, returning a Closure that accepts the rest.
The Duration class represents elapsed time as measured by a stopwatch.
Scalable I/O multiplexing using epoll, kqueue, and other native mechanisms, available to event loop libraries like ReactPHP and AMPHP.
Ensures that a given value (numeric or otherwise) falls within a specified range.
A standard, type-safe way to express sort order that can be shared across libraries.
Allows readonly properties to declare default values, so fixed values no longer have to be assigned in the constructor.
Allows some of a function's arguments to be provided in advance, using ? and ... placeholders for the rest. The result is a Closure, and the function is only called once the remaining arguments are passed to it.
📝 Your Private Notes & Highlights 🔒 Only visible to you
Log in or create a free account to keep private highlights and personal notes on your stored picks.
Featured on Storesso
Are you the creator of php.net? Share your verified feature badge on your website, or export a custom 4:5 editorial social card for Instagram and X.
Generate a 1080×1350 vertical high-res feature card tailored for social sharing.
Instagram & X Feature Card
Export a polished, high-resolution 4:5 editorial graphic displaying your verified inclusion in the Storesso Discovery Index. Perfect for launch threads, founder updates, and newsletters.