PHP Release 8.5.4

PHP 8.5.4 Release Announcement

The PHP development team announces the immediate availability of PHP 8.5.4. This is a bug fix release.

All PHP 8.5 users are encouraged to upgrade to this version.

For source downloads of PHP 8.5.4 please visit our downloads page, Windows source and binaries can also be found there. The list of changes is recorded in the ChangeLog.

Source Code
PHP 8.5.4 (tar.gz)
SHA256: 4fef7f44eff3c18e329504cb0d3eb30b41cf54e2db05cb4ebe8b78fc37d38ce1
PHP 8.5.4 (tar.bz2)
SHA256: 2ac929a29a6b7ef4b8acec981a417b91bdf7f548f597df665cc56ab9ea95fc75
PHP 8.5.4 (tar.xz)
SHA256: c1569f1f543f6b025c583cdc0e730e5c5833c603618613f1aa8e75d1524b8c91
Change Logs
core
  • Fixed bug GH-21029 (zend_mm_heap corrupted on Aarch64, LTO builds).
  • Fixed bug GH-21059 (Segfault when preloading constant AST closure).
  • Fixed bug GH-21072 (Crash on (unset) cast in constant expression).
  • Fix deprecation now showing when accessing null key of an array with JIT.
  • Fixed bug GH-20657 (Assertion failure in zend_lazy_object_get_info triggered by setRawValueWithoutLazyInitialization() and newLazyGhost()).
  • Fixed bug GH-20504 (Assertion failure in zend_get_property_guard when accessing properties on Reflection LazyProxy via isset()).
  • Fixed OSS-Fuzz #478009707 (Borked assign-op/inc/dec on untyped hooked property backing value).
  • Fixed bug GH-21215 (Build fails with -std=).
  • Fixed bug GH-13674 (Build system installs libtool wrappers when using slibtool).
curl
  • Don't truncate length.
date
  • Fixed bug GH-20936 (DatePeriod::__set_state() cannot handle null start).
  • Fix timezone offset with seconds losing precision.
dom
  • Fixed bug GH-21077 (Accessing Dom\Node::baseURI can throw TypeError).
  • Fixed bug GH-21097 (Accessing Dom\Node properties can can throw TypeError).
ldap
  • Fixed bug GH-21262 (ldap_modify() too strict controls argument validation makes it impossible to unset attribute).
mbstring
  • Fixed bug GH-21223; mb_guess_encoding no longer crashes when passed huge list of candidate encodings (with 200,000+ entries).
opcache
  • Fixed bug GH-20718 ("Insufficient shared memory" when using JIT on Solaris).
  • Fixed bug GH-21227 (Borked SCCP of array containing partial object).
openssl
  • Fix a bunch of leaks and error propagation.
windows
  • Fixed compilation with clang (missing intrin.h include).
To Top