PHP 8.3.22 released

Published by

PHP 8.3.22 has been officially released, introducing important fixes across various components, including core functionalities, date handling, internationalization (intl), LDAP, opcache, PDO_OCI, Standard PHP Library (SPL), and zip packages. This update addresses a range of issues that have been reported, improving overall stability and performance.

Key Fixes in PHP 8.3.22:

Core Enhancements:
- Resolved issues with `array_splice` when handling large offset and length parameters.
- Addressed a stack overflow problem caused by nested object comparisons.
- Fixed multiple security vulnerabilities identified through OSS-Fuzz.

Curl Updates:
- Corrected the behavior of `curl_easy_setopt` when setting `CURLOPT_USERPWD`, ensuring the Authorization header is handled correctly.

Date Functions:
- Fixed inaccuracies in the `date_sun_info()` function, which incorrectly computed sunrise and sunset times.
- Resolved unexpected behavior in `date_sunrise` where it returned a NaN value for offsets.

Intl Improvements:
- Fixed various reference issues in the internationalization module.

LDAP Adjustments:
- Corrected behavior of LDAP regarding TLS settings from the ldaprc file during TLS sessions.

Opcache Fixes:
- Resolved issues related to Windows shared memory reattachment, memory consumption adjustments, and preloading with internal class aliases.

OpenSSL Updates:
- Added necessary checks for blocking behavior in SSL connections.

PDO_OCI Corrections:
- Fixed segmentation faults occurring during statement garbage collection in PDO OCI.

SPL Enhancements:
- Fixed integer overflow issues in `LimitIterator` that affected operations with large numbers.

Standard Library Fixes:
- Addressed potential deadlock scenarios in the `putenv` function and improved dynamic calls to `assert()` regarding assertion settings.

Windows-Specific Fixes:
- Resolved crashes related to `sapi_windows_set_ctrl_handler()`.

Zip Package Fixes:
- Improved the handling of ZIP progress callbacks and error management when adding patterns to ZipArchive.

Conclusion
The release of PHP 8.3.22 significantly enhances the reliability and security of the PHP programming language by addressing numerous bugs and vulnerabilities. Developers are encouraged to update to this latest version to benefit from these improvements and ensure their applications run smoothly. This release reflects ongoing efforts to maintain a robust and secure environment for PHP developers worldwide

PHP 8.3.22 released

The release of PHP 8.3.22 addresses multiple issues within the core, date, intl, LDAP, opscache, PDO_OCI, SPL, standard, Windows, and zip packages. The proposed solutions tackle various concerns, including array_splice, nested object comparisons, stack overflow, curl, date_sun_info, date_sunrise, intl, LDAP, opscache, PDO_OCI, SPL, standard, windows, and zip. The release resolves concerns related to array_splice, nested object comparisons, OSS-Fuzz, curl, date_sun_info, date_sunrise, intl, LDAP, opscache, PDO_OCI, SPL, standard, windows, and zip.

PHP 8.3.22 released @ Linux Compatible