PHP 8.6.0 Beta 3 Ships with Automatic Closure Optimizations and Oniguruma EOL

Published by

PHP 8.6.0 Beta 3 has been released, featuring automatic closure optimizations that enhance performance through stateless closure caching and static inference. This update also introduces several quality-of-life improvements, including a new clamp() function, the #[\Override] attribute for constants, and stricter error handling for streams. Additionally, PHP's bundled Oniguruma regex engine has reached its end-of-life, marking a significant infrastructure change, while the minimum requirements now include autoconf 2.71 and newer database servers. Looking ahead, the PHP team is exploring ambitious features for version 8.7, such as primary constructors and native JSX-style markup syntax, aimed at improving developer ergonomics



PHP 8.6.0 Beta 3 Ships with Automatic Closure Optimizations and Oniguruma EOL

PHP 8.6.0 Beta 3 has been tagged, locking in the feature set for the upcoming stable release with automatic closure optimizations taking center stage. The update delivers measurable performance gains through stateless closure caching and static inference, alongside quality-of-life additions like a new clamp() function, #[\Override] for constants, and stricter stream error handling. Infrastructure requirements are raising the floor to autoconf 2.71 and modern database servers, while officially marking the end-of-life for PHP's bundled Oniguruma regex engine. The team is already exploring aggressive additions for 8.7, including primary constructors, function autoloading, and native JSX-style markup syntax.

PHP 8.6.0 Beta 3 Ships with Automatic Closure Optimizations and Oniguruma EOL @ Linux Compatible