×
UpdatePHP Pro 登录 登记
PHP 到期提醒 : PHP v8.1 最近已过期. 您的网站还在运行这个版本吗? 点击此处了解更多详情
安全的 PHP 的版本: 8.5.12, 8.4.27, 8.3.36, 8.2.35
☰

PHP 8.5.7 发行说明:有哪些变化

PHP 8.5.7 于 2026年6月4日 发布。下面是它带来的全部变更,按每项变更影响的 PHP 部分分组列出。

PHP 8.5.7 的变化

PHP 8.5 的所有版本

变更内容以英文列出,与 PHP 开发者撰写的原文完全一致(共 12 项)。

CLI

  • Fixed bug GH-21901 (Stale getopt() optional value). (onthebed)

Core

  • Fixed bug GH-22071 (JIT assertion on abstract static method call). (David Carlier)

Date

  • Fixed bug GH-18422 (int overflow in php_date_llabs). (iliaal)

DOM

  • Fixed bug GH-22077 (UAF in custom XPath function). (afflerbach/David Carlier)

Opcache

  • Fixed tracing JIT crash when a VM interrupt is handled during an observed user function call. (Levi Morrison)
  • Fixed bug GH-21746 (Segfault with tracing JIT). (Arnaud)
  • Fixed bug GH-22004 (Assertion failure at ext/opcache/jit/zend_jit_trace.c). (Arnaud)
  • Fixed tailcall VM crash when a VM interrupt is handled from a VM helper. (Levi Morrison, Arnaud)

OpenSSL

  • Fix compatibility issues with OpenSSL 4.0. (jordikroon, Remi)

Standard

  • Fixed bug GH-21689 (version_compare() incorrectly handles versions ending with a dot). (timwolla)

URI

  • Fixed CVE-2026-44927 (In uriparser before 1.0.2, there is pointer difference truncation to int in various places). (CVE-2026-44927) (Sebastian Pipping)
  • Fixed CVE-2026-44928 (In uriparser before 1.0.2, the function family EqualsUri can misclassify two unequal URIs as equal). (CVE-2026-44928) (Sebastian Pipping)

此列表来自 PHP 开发者随 PHP 源代码一起维护的 NEWS 文件,同样的列表也发布在 php.net 上。

返回:指南索引
文章最后更新: 21st October, 2026