New in PHP 8.6: Partial Function Application. PFA provides a cleaner way to pre-...
Perforce Zend @zend@phpc.social
New in PHP 8.6: Partial Function Application.
PFA provides a cleaner way to pre-fill arguments and reuse existing functions without wrapper closures. And paired with the pipe operator, things get even more interesting.
See how it works in our latest blog: https://ter.li/u60gqhoj