PHP 8.5.0 RC1 Debian packages released

Published by

The PHP 8.5.0 Release Candidate 1 (RC1) has been made available by Ondřej Surý for Debian GNU/Linux versions 11 (Bullseye) LTS, 12 (Bookworm), and 13 (Trixie). This release introduces a variety of enhancements and fixes that contribute to the overall stability and functionality of the PHP framework.

Key improvements in PHP 8.5.0 RC1 include the resolution of critical bugs, such as the object_properties_load() skipping readonly property checks, the removal of the __sleep() and __wakeup() magic methods, and issues related to flags and timeout settings in userland arrays. These fixes are aimed at making PHP a more reliable choice for developers.

Error handling has seen significant updates, with new warnings being introduced when developers attempt to cast floats that cannot be represented as integers or Not-A-Number (NaN) values. This change is designed to provide more constructive feedback during development, helping to identify potential issues early on.

In addition, the Bzip2 module's bzopen() stream mode validation bug has been corrected, ensuring proper functionality, while enhancements to the Curl module now allow for easier cloning of CURLOPT_POSTFIELDS. This adjustment improves PHP's Curl implementation, making it more user-friendly.

Date and time functions have also been updated, with the "P" format in createFromFormat now correctly managing string literals. The __unserialize() method has replaced the __wakeup() magic method in several date and time classes, further streamlining their usage.

Noteworthy improvements have been made to the Exif module, enhancing the security of HEIF parsing and addressing vulnerabilities related to zero-size boxes and infinite loops. Similarly, PHP's FastCGI Process Manager (FPM) has benefited from a fix that resolves post_max_size evaluation timing issues.

Additional updates include enhancements to the Iconv module, improvements in Opcache to address assertion failures and function JIT problems, and updates to the mbstring module to ensure Unicode data tables are current. Changes to the Reflection module have also removed the finality of ReflectionConstant, granting developers greater flexibility.

Bugs related to server API (SAPI), such as issues with http_response_code() not replacing the status code set by header(), have been addressed, enhancing PHP's ability to handle HTTP responses effectively.

To install the PHP 8.5.0 RC1 packages on Debian, users can follow a provided script to add the necessary repository to their system. For those seeking further information, additional details can be found on the deb.sury.org website, along with access to a dedicated bug tracker for the packages.

In summary, the PHP 8.5.0 RC1 release is a significant update that not only fixes numerous bugs but also enhances the functionality and security of various modules, making it a valuable upgrade for developers working with PHP on Debian systems. As the release candidate progresses toward the final version, developers are encouraged to test the new features and report any issues they encounter

PHP 8.5.0 RC1 Debian packages released

PHP 8.5.0 Release Candidate 1 (RC1) packages have been released by Ondřej Surý for Debian GNU/Linux versions 11 LTS, 12, and 13. The upcoming version includes various improvements, such as fixes for important bugs, better error handling, and enhanced functionality in modules like Curl, Exif, and Opcache. Additionally, several date and time functions have been updated to correctly handle string literals and other issues.

PHP 8.5.0 RC1 Debian packages released @ Linux Compatible