PHP 8.4.22 được phát hành ngày 4 tháng 6 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.
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 15).
Date
Fixed bug GH-18422 (int overflow in php_date_llabs). (iliaal)
Intl
Fix incorrect argument positions in out-of-bounds errors for IntlCalendar::set(), IntlCalendar::setDate(), IntlCalendar::setDateTime(), and IntlGregorianCalendar date/time construction. (Weilin Du)
Expose Spoofchecker restriction-level APIs on all supported ICU versions. (Weilin Du)
Fix SpoofChecker::setAllowedChars() and IntlDateFormatter::__construct() to report PHP constant names instead of ICU constant names in user-visible error messages. (Weilin Du)
MySQLnd
Fix persistent free of non-persistent connect_attr key (David Carlier).
Opcache
Fixed bug GH-21972 (Corrupted variable type when a typed by-value return contains a reference wrapper). (Weilin Du)
Fixed tracing JIT crash when a VM interrupt is handled during an observed user function call. (Levi Morrison)
Fixed bug GH-22004 (Assertion failure at ext/opcache/jit/zend_jit_trace.c). (Arnaud)
OpenSSL
Fix compatibility issues with OpenSSL 4.0. (jordikroon, Remi)
Phar
Fixed bug GH-21986 (PharData::getContent() crash on infinite recursion with symlinks). (David Carlier)
SOAP
Fixed integer overflow when decoding SOAP array indexes. (Weilin Du)
SPL
Fix SplFixedArray::setSize leak when destructor grows during clear. (David Carlier)
Fixed bug GH-21933 (use after free of self-freeing MultipleIterator children). (David Carlier)
Standard
Fixed bug GH-21689 (version_compare() incorrectly handles versions ending with a dot). (timwolla)
Fixed ip2long() leading zeros handling inconsistency on AIX. (ayappanec)
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.
Nếu bạn không muốn sử dụng công cụ của chúng tôi hoặc đã thử thì sau đây là danh sách ba thử nghiệm đơn giản mà bạn có thể thực hiện để xác định phiên bản PHP của mình.Chúng tôi đã liệt kê chúng theo thứ tự phức tạp, bắt đầu từ cách dễ nhất.