PHP 8.5.0 Beta 3 released

Published by

PHP 8.5.0 Beta 3 has been released, as announced by Volker Dusch. This beta version includes numerous bug fixes and enhancements across various components, tackling over 20 issues. Key improvements address problems in opcache, PDO, Intl, and URI handling, with several features being deprecated, such as `$_SERVER['argc']` and `$_SERVER['argv']`. Notably, it introduces new functionality for retrieving Exif data from HEIF files and several new functions in the Intl module.

Core and Component Changes
The release brings several core changes, including:
- Destructuring Non-Array Values: A warning is now emitted when destructuring syntax is applied to non-array values.
- Closure Scope Fix: Resolved issues affecting closure scope in constant expressions.
- Stale Array Iterator Pointer: Fixed bugs related to incorrect positions in stale array iterators.
- Deprecation Notices: Using `NULL` as an array offset and deriving `$_SERVER['argc']` and `$_SERVER['argv']` from the query string are now deprecated.

CLI and Other Specific Changes
- CLI Improvements: Enhanced error messages for IPv6 listening errors.
- Date Handling Fixes: Adjustments to `date_sunrise()` and `date_sunset()` functions for partial-hour UTC offsets.
- Exif Support: New support for obtaining Exif data specifically from HEIF files.
- FPM and Filter Fixes: Addressed issues in the FPM settings and filter validation processes.

Enhancements in Internationalization and PDO
- New grapheme functions introduced to the Intl module with locale parameters.
- Deprecation of driver-specific methods in the PDO class, along with the addition of a new connection attribute for SQLite.

Opcache and Memory Management Improvements
- Multiple fixes in Opcache, including issues with JIT stack setup and memory management for URI parsing.
- Enhancements to prevent memory corruption and manage heap memory more effectively.

URI Handling Improvements
- Added support for new methods within the URI handling component, improved memory management, and addressed issues with handling out-of-range ports.

For developers eager to test the new features and fixes, the PHP 8.5.0 Beta 3 can be downloaded from the [GitHub release page](https://github.com/php/php-src/releases/tag/php-8.5.0beta3).

Future Outlook
As PHP 8.5 progresses towards its stable release, developers can expect continued focus on stability, performance, and support for modern file formats and functionalities. The enhancements in this beta version highlight PHP's commitment to addressing community feedback and evolving with the needs of contemporary web development

PHP 8.5.0 Beta 3 released

Volker Dusch has announced the third beta version of PHP 8.5.0, which includes a range of bug fixes and improvements across various components. The release addresses over 20 issues, including problems with opcache, PDO, Intl, and URI handling, as well as several deprecation notices for features like $_SERVER['argc'] and $_SERVER['argv']. Additionally, the release introduces new support for retrieving Exif data from HEIF files and adds several new functions to the Intl module.

PHP 8.5.0 Beta 3 released @ Linux Compatible