I look at what’s planned for PHP 8.6, with examples of partial function application using Result and Lazy, and how a native clamp() function could make everyday code clearer.
https://joelbutcher.dev/writing/php-8-6-a-more-expressive-more-capable-php

Joel ButcherPHP 8.6: A more expressive, more capable PHPI look at partial function application, more secure defaults and the runtime improvements planned for PHP 8.6, with examples of how they could reduce boilerplate in everyday application code.
commit 7475f2f