PHP 8.5.4 Release: Core Memory Fixes, JIT Stability, and LDAP Bug Fix for Safer Production Deployments
PHP 8.5.4 is now available, delivering critical fixes to core memory handling, JIT stability, and several key extensions. The patch for GH‑21029 eliminates zend_mm_heap corruption on ARM64 LTO builds, while the JIT bugs GH‑21059 and GH‑20657 stop preloading constants from causing segmentation faults. Extension updates include LDAP’s relaxed validation (GH‑21262), DatePeriod accepting null starts (GH‑20936), and DOM property access no longer throwing TypeError, which cleans up many legacy XML parsing quirks. Coupled with memory leak mitigations in OpenSSL, MBString, and Opcache, the release offers a safer runtime for production systems; running the existing test suite before deployment is strongly advised.
PHP 8.5.4 Release: Core Memory Fixes, JIT Stability, and LDAP Bug Fix for Safer Production Deployments
PHP 8.5.4 has been released, featuring crucial fixes to core memory management, JIT stability, and various extensions, aimed at enhancing production deployment safety. Key improvements include a resolution for zend_mm_heap corruption on ARM64 builds, along with critical bug fixes for the JIT engine that prevent segmentation faults and assertion failures. Several extensions have also been updated, such as LDAP's relaxed validation and DOM property access enhancements, addressing legacy issues effectively. Users are advised to run their test suite with PHP 8.5.4 before deploying to ensure compatibility with custom extensions and JIT-enabled code paths
