In this video, Tideways shows how PHP 8.6 speeds up array_map when you use first-class callables.
PHP
What’s new in PHP 8.6
Brent surveys the most notable additions coming in PHP 8.6, including partial function application, the new polling API, readonly property defaults, and several smaller improvements and deprecations. Read more