Key Fixes in PHP 8.3.21 RC1:
- Core: Resolved a segmentation fault triggered by changing properties of a DateInterval and fixed memory leaks in the directory scanning function `php_scandir`.
- Filter: Addressed an integer overflow issue in the IPv6 filter.
- GD: Fixed overflow issues in the `imagecrop()` function and corrected underflow issues in `imagettftext()` related to font size.
- Intl: Enhanced reference support for the `intltz_get_offset()` function.
- LDAP: Resolved issues with overriding LDAP options and fixed a null dereference error on modification keys.
- libxml: Corrected the behavior of a custom external entity loader to prevent invalid resource returns.
- OpenSSL: Fixed memory leaks in the `openssl_sign()` function and potential leaks when writing to BIO fails.
- PDO Firebird: Addressed a corruption issue in persistent connections.
- SPL: Improved memory handling in the `SplObjectStorage` debug handler.
- Standard: Fixed multiple bugs, including crashes in `php_clear_stat_cache()`, use-after-free errors in the `extract()` function, and resource leaks in `iptcembed()`.
- Zip: Fixed issues related to empty options and memory leaks in `ZipArchive::addGlob()`.
This release candidate is a crucial step towards a stable version and aims to enhance performance and reliability in various functionalities of PHP.
Future Considerations:
With the advancements seen in PHP 8.3.21 RC1, developers and users are encouraged to test the release candidate thoroughly to identify any remaining issues. Feedback from this testing phase can lead to further improvements and optimizations in the final release. As PHP continues to evolve, keeping an eye on future updates and enhancements will be vital for developers to leverage the full potential of the languagePHP 8.3.21 RC1 released
PHP-8.3.21 RC1 has been released for testing and addresses multiple issues across several components, including core, filter, GD, Intl, LDAP, libxml, OpenSSL, PDO Firebird, SPL, and Standard. The updates cover various critical fixes, including bug GH-18304, an integer overflow in the IPv6 filter, overflow issues with imagecrop(), reference support for intltz_get_offset(), the inability to override LDAP_OPT_X_TLS_* options, a libxml custom external entity loader returning invalid resources, memory leaks in OpenSSL, persistent connection issues with PDO Firebird, memory mismanagement in SPL, and standard bugs such as php8ts crashes, use-after-free errors in extract(), fseek with SEEK_CUR, and resource leaks in iptcembed().