PHP 8.3.26 RC1 released

Published by

PHP 8.3.26 Release Candidate 1 has been officially announced by Jakub Zelenka, showcasing a series of significant bug fixes and enhancements based on community feedback. This release candidate addresses critical core issues, improves error reporting, and enhances the overall functionality of PHP.

Key Features of PHP 8.3.26 RC1:

1. Core Improvements:
- Resolved warnings related to repeated file inclusion with `__halt_compiler()`.
- Fixed issues with signed integer overflow when scanning string literals over 2GB.
- Enhanced garbage collection for weak references.
- Addressed stale pointers in array iterators to prevent crashes.

2. CLI Enhancements:
- Improved error messaging for IPv6 address listening errors for better clarity.

3. Date and Time Functions:
- The functions `date_sunrise()` and `date_sunset()` now accurately process partial-hour UTC offsets.

4. DOM and FPM Stability:
- Mitigated a bug in libxml2 tree dictionaries to prevent crashes.
- Enhanced FPM stability by fixing debug assertion failures when setting `php_admin_value`.

5. Graphics and Internationalization Updates:
- Corrected width handling in `imagefilledellipse()` to avoid underflow errors.
- Ensured proper canonicalization of locale strings for `IntlDateFormatter` and `NumberFormatter`.

6. Security and Database Driver Enhancements:
- Improved error messages for TLS stream accept failures in OpenSSL.
- Fixed potential use-after-free errors in persistent pgsql connections to boost reliability.

7. Phar and Standard PHP Library Fixes:
- Resolved memory leaks in Phar archive handling and improved error handling in signature verification.
- Fixed UAF errors in array functions and avoided integer overflows in `LimitIterator`.

8. Stream and Miscellaneous Improvements:
- Enhanced metadata handling by removing incorrect calls in `user_wrapper_metadata()`.
- Addressed build issues with Tidy HTML Parser and improved zip handling stability.

Conclusion:
The release of PHP 8.3.26 RC1 marks a significant step towards the final version, focusing on stability, security, and usability enhancements. Developers are encouraged to test this release candidate and report any issues to further refine the upcoming official release. The community's involvement remains crucial as PHP continues to evolve, ensuring it meets the demands of modern web development.

For more details and to access the release, please visit the official PHP GitHub repository

PHP 8.3.26 RC1 released

PHP 8.3.26 release candidate has been announced by Jakub Zelenka, addressing various bugs and issues reported by the community. The release includes fixes for critical core bugs, such as repeated file inclusion warnings and integer overflows, as well as enhancements to CLI error messages and internationalization functionality. Additionally, several library-specific issues have been resolved, including memory leaks in Phar archive handling, UAF errors in Standard PHP library functions, and incorrect calls in Streams metadata handling.

PHP 8.3.26 RC1 released @ Linux Compatible