×
UpdatePHP Pro Đăng nhập Đăng ký
Cảnh báo hết hạn PHP : PHP v8.1 gần đây đã hết hạn. Trang web của bạn vẫn chạy phiên bản này phải không? Bấm vào đây để biết thêm chi tiết
AN TOÀN các phiên bản của PHP: 8.5.12, 8.4.27, 8.3.36, 8.2.35
☰

Ghi chú phát hành PHP 8.4.19: những gì đã thay đổi

PHP 8.4.19 được phát hành ngày 12 tháng 3 năm 2026. Dưới đây là danh sách đầy đủ các thay đổi trong phiên bản này, được nhóm theo phần của PHP mà mỗi thay đổi ảnh hưởng.

Những thay đổi trong PHP 8.4.19

Tất cả các bản phát hành PHP 8.4

Các thay đổi được liệt kê bằng tiếng Anh, đúng như các nhà phát triển PHP đã viết (tổng cộng 28).

Core

  • Fixed bug GH-21029 (zend_mm_heap corrupted on Aarch64, LTO builds). (Arnaud)
  • Fixed bug GH-20657 (Assertion failure in zend_lazy_object_get_info triggered by setRawValueWithoutLazyInitialization() and newLazyGhost()). (Arnaud)
  • Fixed bug GH-20504 (Assertion failure in zend_get_property_guard when accessing properties on Reflection LazyProxy via isset()). (Arnaud)
  • Fixed OSS-Fuzz #478009707 (Borked assign-op/inc/dec on untyped hooked property backing value). (ilutov)
  • Fixed bug GH-21215 (Build fails with -std=). (Arnaud)
  • Fixed bug GH-13674 (Build system installs libtool wrappers when using slibtool). (Michael Orlitzky)

Curl

  • Fixed bug GH-21023 (CURLOPT_XFERINFOFUNCTION crash with a null callback). (David Carlier)
  • Don't truncate length. (ndossche)

Date

  • Fixed bug GH-20936 (DatePeriod::__set_state() cannot handle null start). (ndossche)
  • Fix timezone offset with seconds losing precision. (ndossche)

DOM

  • Fixed bug GH-21077 (Accessing Dom\Node::baseURI can throw TypeError). (ndossche)
  • Fixed bug GH-21097 (Accessing Dom\Node properties can can throw TypeError). (ndossche)

MBString

  • Fixed bug GH-21223; mb_guess_encoding no longer crashes when passed huge list of candidate encodings (with 200,000+ entries). (Jordi Kroon)

Opcache

  • Fixed bug GH-20718 ("Insufficient shared memory" when using JIT on Solaris). (Petr Sumbera)
  • Fixed bug GH-21227 (Borked SCCP of array containing partial object). (ilutov)
  • Fixed bug GH-21052 (Preloaded constant erroneously propagated to file-cached script). (ilutov)

OpenSSL

  • Fix a bunch of leaks and error propagation. (ndossche)

PCNTL

  • Fixed pcntl_setns() internal errors handling regarding errnos. (David Carlier/ndossche)
  • Fixed cpuset leak in pcntl_setcpuaffinity on out-of-range CPU ID on NetBSD/Solaris platforms. (David Carlier)
  • Fixed pcntl_signal() signal table registering the callback first OS-wise before the internal list. (David Carlier)
  • Fixed pcntl_signal_dispatch() stale pointer and exception handling. (David Carlier)

PCRE

  • Fixed preg_match memory leak with invalid regexes. (David Carlier)
  • Fixed pcre2_code leak when pcre2_pattern_info() fails after a successful pcre2_compile(), and match_sets/match_data/marks leaks in php_pcre_match_impl(). (David Carlier)

PDO_PGSQL

  • Fixed bug GH-21055 (connection attribute status typo for GSS negotiation). (lsaos)

PGSQL

  • Fixed bug GH-21162 (pg_connect() memory leak on error). (David Carlier)

Sockets

  • Fixed bug GH-21161 (socket_set_option() crash with array 'addr' entry as null). (David Carlier)
  • Fixed possible addr length overflow with socket_connect() and AF_UNIX family sockets. (David Carlier)

Windows

  • Fixed compilation with clang (missing intrin.h include). (Kévin Dunglas)

Danh sách này lấy từ tệp NEWS mà các nhà phát triển PHP lưu cùng mã nguồn PHP, và danh sách tương tự cũng được đăng trên php.net.

Quay lại: Mục lục hướng dẫn
Bài viết cập nhật lần cuối: 21st October, 2026