In this update, several extensions have been refined. For instance, the Bz2 extension now manages assertion failures more effectively, which previously could lead to system crashes, especially when working with stream filter objects. The DOM extension has seen fixes related to memory leaks, particularly in XPath callback situations, and improvements to helper functions that previously forced query selections into lowercase. Additionally, issues with the Fibers extension, such as a stack overflow when the fiber.stack_size setting was set too low, have been resolved.
Other extensions have also received critical updates. The Intl extension's Spoofchecker now offers improved warnings regarding the use of unavailable constants. The Lexbor extension has fixed bugs related to URL handling that affected host stripping and crashes on malformed inputs. Updates to LibXML ensure that its deprecations do not interfere with newer versions, while MySQLnd has corrected a regression that impacted IPv6 address connections. The Opcache extension has addressed file cache issues when the interned string buffer becomes full, and improvements have been made to the PDO extension to respect FETCH_CLASSTYPE constructor arguments accurately.
Moreover, the Phar extension has enhanced its handling of __halt_compiler() stubs, fixed return value issues with fflush(), and resolved assertion failures linked to out-of-bounds seeks. The PHPDBG tool has improved its executable handling, and the SPL extension has addressed deserialization issues with SplFixedArray. The standard library also benefited from memory leak fixes in array_diff(), stack overflow resolutions for http_build_query on nested structures, and mitigated information leak problems. Furthermore, the XML extension now correctly manages special characters in attributes, while the Zip extension avoids crashes during property checks and handles custom return sizes effectively. Lastly, the Zlib extension has resolved assertion failures related to stream filter objects, and the URI extension has eliminated ValueErrors triggered by null bytes.
Overall, the release of PHP 8.5.1 RC2 signifies a commitment to enhancing the language's performance, stability, and usability, ensuring a smoother experience for developers in their everyday operations. The community eagerly anticipates further updates and official releases that will continue to refine PHP.
For more detailed information and to access the release notes, you can visit the official PHP GitHub repository under the tag php-8.5.1RC2
PHP 8.5.1 RC2 released
PHP 8.5.1 RC2 has been released, featuring a mix of core tweaks and bug fixes across various extensions. The update addresses issues such as problems with named arguments, attribute configuration, and use-after-destroy errors, as well as memory leaks and crashes in certain situations. Several extensions have also received updates, including Bz2, DOM, Fibers, Intl, Lexbor, LibXML, MySQLnd, Opcache, Phar, PHPDBG, SPL, standard library components, XML, Zip, Zlib, and the URI extension. The release aims to make PHP 8.5.1 more stable and dependable in its everyday operation.
