PHP 8.5.11 được phát hành ngày 24 tháng 9 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.
Bảo mật Bản phát hành này đã sửa các lỗi bảo mật. Kể từ đó PHP 8.5 đã có các bản phát hành mới hơn, vì vậy nếu trang web của bạn chạy trên PHP 8.5, hãy cập nhật lên PHP 8.5.12, phiên bản đã bao gồm các bản sửa lỗi này.
Fixed odbc_field_len(), odbc_field_scale() and odbc_field_type() returning uninitialized memory when SQLColAttribute fails. (Ilia Alshanetsky)
Opcache
Fixed opcache.protect_memory race under ZTS. (realFlowControl)
Fixed a tracing JIT crash when compiling a side trace for a method of a class that could not be stored in the inheritance cache. (GH-21710) (Arnaud, iliaal)
Fixed a crash when the huge page SHM remap discarded mappings outside the reserved address range. (Piotr Hałas)
Fixed GHSA-cj93-vc83-wgqv (Integer overflow to buffer overflow in SOAP HTTP parsing). (CVE-2025-14181) (Nora Dossche, Jakub Zelenka)
Standard
Fixed a segfault when a stream filter callback unsets StreamBucket::$data before re-attaching the bucket. (iliaal)
Fixed GHSA-7875-c8px-7q5f (Out-of-bounds read in the HTTP stream wrapper when following a redirect with an empty Location header). (CVE-2026-93682) (Ilia Alshanetsky, Jordi Kroon)
Fixed read buffer compaction in php_stream_filter_flush(). (crystarm)
Fixed bug GH-22410 (Incorrect float behavior with large numbers). (arshidkv12)
Fixed GH-23338 (fsockopen()/pfsockopen() ValueError reported wrong argument number for $timeout). (lacatoire)
Fixed bug GH-23576 (Next index for array returned from array_keys() is wrong). (Lazizbek Ergashev)
Fixed GHSA-88hq-2827-7pg6 (Out-of-bounds read in convert.* stream filters when line-break-chars contains NUL). (CVE-2026-92842) (geeknik)
Fixed writing to a dimension of the object returned by attributes() not creating the attribute. (Ilia Alshanetsky)
Fixed child elements of the element returned by SimpleXMLElement::addChild() not being accessible by property name when namespaces are involved. (Ilia Alshanetsky)
Windows
Fixed GHSA-9f67-6fw4-hpfp (Reserved device names are not rejected before file and stream I/O). (CVE-2026-17545) (Shivam Mathur, Jakub Zelenka)
Zip
Fixed bug GH-17787 (ZipArchive stream stops reading early when the archive is freed while the stream is still open). (Eyüp Can Akman)
Fixed bug GH-23276 (ZipArchive subclass storing its own stream cannot be garbage collected). (Weilin Du, ndossche)
SAPI
Fixed fuzzer targets failing to build in isolation. (Mrmaxmeier)
Fixed returns uninitialized value on LiteSpeed lsapi SAPI (Go Kudo)
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.