PHP 8.5.2 được phát hành ngày 15 tháng 1 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 26).
Core
Fix OSS-Fuzz #465488618 (Wrong assumptions when dumping function signature with dynamic class const lookup default argument). (ilutov) Fixed bug GH-20695 (Assertion failure in normalize_value() when parsing malformed INI input via parse_ini_string()). (ndossche) Fixed bug GH-20714 (Uncatchable exception thrown in generator). (ilutov) Fixed bug GH-20352 (UAF in php_output_handler_free via re-entrant ob_start() during error deactivation). (ndossche) Fixed bug GH-20745 ("Casting out of range floats to int" applies to strings). (Bob)
DOM
Fixed bug GH-20722 (Null pointer dereference in DOM namespace node cloning via clone on malformed objects). (ndossche) Fixed bug GH-20444 (Dom\XMLDocument::C14N() seems broken compared to DOMDocument::C14N()). (ndossche)
EXIF
Fixed bug GH-20631 (Integer underflow in exif HEIF parsing when pos.size < 2). (Oblivionsage)
Intl
Fixed IntlListFormatter::getErrorCode() and getErrorMessage() not reflecting format() failures. (Weilin Du) Fix leak in umsg_format_helper(). (ndossche)
LDAP
Fix memory leak in ldap_set_options(). (ndossche)
Lexbor
Fixed bug GH-20668 (\Uri\WhatWg\Url::withHost() crashes (SEGV) for URLs using the file: scheme). (lexborisov)
Mbstring
Fixed bug GH-20674 (mb_decode_mimeheader does not handle separator). (Yuya Hamada)
OpenSSL
Fixed bug GH-20802 (undefined behavior with invalid SNI_server_certs options). (David Carlier)
PCNTL
Fixed bug with pcntl_getcpuaffinity() on solaris regarding invalid process ids handling. (David Carlier)
Phar
Fixed bug GH-20732 (Phar::LoadPhar undefined behavior when reading fails). (ndossche) Fix SplFileInfo::openFile() in write mode. (ndossche) Fix build on legacy OpenSSL 1.1.0 systems. (Giovanni Giacobbi) Fixed bug #74154 (Phar extractTo creates empty files). (ndossche)
Session
Fix support for MM module. (Michael Orlitzky)
Sqlite3
Fixed bug GH-20699 (SQLite3Result fetchArray return array|false, null returned). (ndossche, plusminmax)
Standard
Fix error check for proc_open() command. (ndossche) Fix memory leak in mail() when header key is numeric. (Girgias) Fixed bug GH-20582 (Heap Buffer Overflow in iptcembed). (ndossche)
URI
Fixed bug GH-20771 (Assertion failure when getUnicodeHost() returns empty string). (ndossche)
Zlib
Fix OOB gzseek() causing assertion failure. (ndossche)
← Bản phát hành trước: PHP 8.5.1 Bản phát hành tiếp theo: PHP 8.5.3 →
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 .
Bài viết liên quan
Các bài viết hữu ích giúp bạn xác định xem bạn có cần nâng cấp phiên bản PHP của máy chủ hay không và cách thực hiện việc đó.
Đọc thêm →
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.
Đọc thêm →
← 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