
PHP8 min read
What's new in PHP 8.6: partial function application, clamp(), Duration and more
PHP 8.6 adds partial function application, clamp(), a Time\Duration class, readonly property defaults and a SortDirection enum, and makes sessions stricter by default. Each feature with a short example, then the behaviour changes and deprecations to fix before upgrading.
By Nilesh Kushvaha










