PHP 8.2.0 RC1 Released: New Features and Improvements
The first release candidate of PHP 8.2.0 (RC1) has been published, introducing trait constants, a new Random extension, enhanced JIT support, updated MIME types for the built‑in web server, memory optimizations, new socket and Curl options, additional ZipArchive methods, and several performance and cross‑platform improvements.
PHP 8.2.0's first release candidate (RC1) is now available, bringing a range of bug fixes and new features, including potential crash fixes and improvements to the built‑in CLI web server's handling of static resources.
Support for defining constants in traits.
Extension‑specific Exceptions/Errors in the Random code.
Updated MIME type table for the built‑in web server.
Reduced memory usage for strings returned by various functions.
Preliminary JIT performance profiling support for macOS Instruments.
New Random extension.
Preliminary support for cross‑building on Windows ARM64.
JIT buffer Opcache allocated near the PHP .text segment to enable direct IP‑related calls and jumps.
New options for PHP Sockets.
Support for new Curl options.
New ZipArchive methods.
Other performance improvements.
The roadmap anticipates at least five more release candidates, with RC2 planned for September 15, 2022, and the PHP 8.2.0 GA release expected around November 24, 2022.
For the full list of changes, see the official NEWS file: https://github.com/php/php-src/blob/php-8.2.0RC1/NEWS
Laravel Tech Community
Specializing in Laravel development, we continuously publish fresh content and grow alongside the elegant, stable Laravel framework.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.