Additionally, the release tackles a macOS-specific issue (GH-20546) related to the preserve_none attribute in DOM, and has implemented fixes for assertion failures in Bz2 associated with stream filter object parameters. The DOM component has also seen enhancements to address memory leaks and unusual behavior tied to XPath callbacks. Notably, problems connected to Fibers, particularly those that led to ASAN stack overflows due to small stack sizes, have been rectified (GH-20483).
Other components have also been updated:
- The Intl extension has improved its Spoofchecker functionalities.
- URI parsing has been refined to handle edge cases more effectively.
- LibXML adjustments have been made to better align with newer libxml versions and to resolve deprecation warnings.
- MySQLnd resolved issues that impacted IPv6 connections with square brackets (GH-20528).
- Opcache fixed a troubling bug (GH-20329) related to opcache.file_cache.
- Phar addressed multiple issues, including case insensitivity and assertion failures.
- PHPDBG improved its code by rectifying ZPP type violations in two functions.
- The SPL extension fixed issues affecting how references were managed during deserialization (GH-20614).
- The Standard component improved memory management in functions like array_diff() and prevented stack overflows in http_build_query().
Finally, essential fixes have been rolled out for XML and Zip, resolving issues with special characters in attributes and crashes related to property existence tests. Zlib also benefited from fixes akin to those applied to Bz2, addressing similar assertion failures.
As the development cycle continues, these updates pave the way for the final release of PHP 8.5.1, ensuring a more robust and efficient programming experience for developers worldwide. With each release candidate, the community is encouraged to test and provide feedback, further refining the language before its official launch.
For more details, you can refer to the official release tag for php-8.5.1RC1 on GitHub
PHP 8.5.1 RC1 released
A new release candidate, PHP 8.5.1 RC1, has been released with several updates and bug fixes. The changes include updating the boost.context files to match version 1.86.0 from mvorisek, resolving issues like GH-20435, which fixed a problem with SensitiveParameter, and fixing assertion failures caused by crashes in stream filter object parameters for Bz2 and Zlib. Other components, such as DOM, Fibers, Intl, URI parsing, LibXML, MySQLnd, Opcache, Phar, PHPDBG, SPL, XML, Zip, have also received fixes for various issues like memory leaks, stack overflows, and deprecation warnings. These updates are part of the development process leading up to the final release of PHP 8.5.1.
