Get the latest tech news

PHP 8.6 Closure Optimizations


RFC: Closure optimizations - Date: 2026-01-30 - Author: Ilija Tovilo ilutov@php.net - Status: Accepted / Landing - Proposed Version: PHP 8.6 - Implementation: https://github.com/php/php-src/pull/19941 - RFC Discussion thread: https://news-web.php.net/php.internals/129957 - Original announcement thread: https://news-web.php.net/php.internals/129825 Introduction This RFC proposes two new optimizations for closures (including arrow functions) that come with some theoretical BC breaks. The purpose of this RFC is to evaluate whether these BC breaks are an acceptable trade-off for the gained performance.

None

Get the Android app

Or read this on Hacker News