PHP 8.5.10 được phát hành ngày 27 tháng 8 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.
Fixed leak on double DatePeriod::__construct() call. (ilutov)
DOM
Fixed bug GH-23116 (Stack overflow when normalizing a deeply nested DOMDocument). (Lazizbek Ergashev)
Fixed bug GH-23117 (Stack overflow when normalizing a deeply nested Dom\XMLDocument). (Lazizbek Ergashev)
Fixed bug GH-22825 (DOMElement::setAttribute() fails silently when the DTD declares a default value for the attribute). (iliaal)
Fixed bug GH-23120 (Stack overflow when comparing deeply nested DOM nodes with DOMNode::isEqualNode()). (Weilin Du)
Exif
Fixed exif_read_data() allocating a HEIF meta box larger than the file it came from. (iliaal)
Intl
Fixed IntlListFormatter::__construct() leaving stale global error state after successful calls. (Weilin Du)
Opcache
Fixed GH-22693 (DT_TEXTREL in JIT-generated TLS access on x86_64). (David Carlier)
Fixed bug GH-22763 (JIT fails to clear ZREG_TYPE_ONLY after setting reg). (Arnaud)
Fixed bug GH-22857 (Function JIT emits wrong code for FETCH_OBJ_FUNC_ARG on a property hook getter, losing register-held variables). (Zhao Hao)
Fixed bug GH-22916 (Preserve parent regs in zend_jit_deoptimizer_start()). (Arnaud)
OpenSSL
Fix missing error check on invalid alpn protocols. (ndossche)
MBString
Fixed bug GH-22779 (mb_strrpos() returns the wrong position for a negative offset in a non-UTF-8 encoding). (Eyüp Can Akman)
Fixed bug GH-21036 (mb_ereg_search_getregs() crashes after mb_eregi() invalidates the regex cache). (Matthias Goergens)
PCRE
Fixed bug GH-21134 (Crash with \C + UTF-8). Using \C in UTF-8 patterns is now forbidden. (Arnaud)
PDO_ODBC
Fixed bug GH-23016 (NULL values in long columns come back as garbage binary strings). (Calvin Buckley, iliaal)
PDO_PGSQL
Fixed several lazy fetch (PDO::ATTR_PREFETCH => 0) defects: an infinite loop when cleaning up a fetch left in a COPY, a use-after-free when a statement with emulated or disabled prepares is destroyed, a connection left busy for the next fetch, and rows delivered from a result another statement took over. (KentarouTakeda)
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.