PHP 8.5.4 Release Candidate: Bug Fixes and Safe Testing Guide

Published by

The PHP 8.5.4 release candidate has been launched, incorporating crucial bug fixes in the core engine and extensions, such as resolving memory corruption on Aarch64 LTO builds and crashes from null casts. It is considered safer for testing than the production branch, addressing issues like "insufficient shared memory" errors on Solaris and JIT-related deprecation warnings. Developers can easily set up the release candidate by extracting the tarball and configuring it with their standard flags before compiling. However, they should be cautious of potential issues, including memory leaks under heavy TLS traffic, clutter from libtool wrappers, and variations in floating-point results due to ongoing JIT adjustments



PHP 8.5.4 Release Candidate: Bug Fixes and Safe Testing Guide

The PHP 8.5.4 release candidate has been released, addressing several critical issues in the core engine and popular extensions, including memory corruption on Aarch64 LTO builds and crashes triggered by null casts. The RC fixes various bugs, such as "insufficient shared memory" errors on Solaris and deprecation warnings when accessing null array keys under JIT, making it a safer choice for testing than the production branch. To try the RC safely, developers can extract the tarball, configure it with their usual flags, and run make -j$(nproc) to compile in parallel. However, they should be aware of potential pitfalls, such as memory leaks in OpenSSL integration under heavy TLS traffic, libtool wrappers cluttering the PATH, and differences in floating-point results due to JIT fine-tuning.

PHP 8.5.4 Release Candidate: Bug Fixes and Safe Testing Guide @ Linux Compatible