The PHP 8.5.3 Release Candidate has been launched, primarily focusing on enhancing core stability by addressing various critical bugs, such as use-after-free and memory leaks. These issues were particularly problematic for JIT-enabled scripts and long-running processes, causing unexpected crashes. The update includes a range of improvements, such as an upgrade to timelib, which now reflects accurate timezone rules, and fixes to DOM parsing issues within `` tags. Additionally, multibyte string functions have been corrected to prevent division-by-zero errors and other crashes.
Key fixes include:
- Core Stability Enhancements: Significant bug fixes that target undefined behaviors and memory issues, including improvements for Link-Time Optimization (LTO) on CI runners and resolving compilation errors on macOS.
- Timelib Update: The library has been updated to version 2022.16, ensuring that daylight saving time changes are accurately reflected.
- DOM Parsing Fixes: The DOM extension has been patched to ensure proper handling of HTML documents, particularly with closing tags in `
Key fixes include:
- Core Stability Enhancements: Significant bug fixes that target undefined behaviors and memory issues, including improvements for Link-Time Optimization (LTO) on CI runners and resolving compilation errors on macOS.
- Timelib Update: The library has been updated to version 2022.16, ensuring that daylight saving time changes are accurately reflected.
- DOM Parsing Fixes: The DOM extension has been patched to ensure proper handling of HTML documents, particularly with closing tags in `