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

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

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

PHP 8.5.3 的变化

PHP 8.5 的所有版本

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

Core

  • Fixed bug GH-20806 (preserve_none feature compatiblity with LTO). (henderkes)
  • Fixed bug GH-20767 (build failure with musttail/preserve_none feature on macOs). (David Carlier)
  • Fixed bug GH-20837 (NULL dereference when calling ob_start() in shutdown function triggered by bailout in php_output_lock_error()). (timwolla)
  • Fix OSS-Fuzz #471533782 (Infinite loop in GC destructor fiber). (ilutov)
  • Fix OSS-Fuzz #472563272 (Borked block_pass JMP[N]Z optimization). (ilutov)
  • Fixed bug GH-20914 (Internal enums can be cloned and compared). (Arnaud)
  • Fix OSS-Fuzz #474613951 (Leaked parent property default value). (ilutov)
  • Fixed bug GH-20895 (ReflectionProperty does not return the PHPDoc of a property if it contains an attribute with a Closure). (timwolla)
  • Fixed bug GH-20766 (Use-after-free in FE_FREE with GC interaction). (Bob)
  • Fix OSS-Fuzz #471486164 (Broken by-ref assignment to uninitialized hooked backing value). (ilutov)
  • Fix OSS-Fuzz #438780145 (Nested finally with repeated return type check may uaf). (ilutov)
  • Fixed bug GH-20905 (Lazy proxy bailing __clone assertion). (ilutov)
  • Fixed bug GH-20479 (Hooked object properties overflow). (ndossche)

Date

  • Update timelib to 2022.16. (Derick)

DOM

  • Fixed GH-21041 (Dom\HTMLDocument corrupts closing tags within scripts). (lexborisov)

MbString

  • Fixed bug GH-20833 (mb_str_pad() divide by zero if padding string is invalid in the encoding). (ndossche)
  • Fixed bug GH-20836 (Stack overflow in mb_convert_variables with recursive array references). (alexandre-daubois)

Opcache

  • Fixed bug GH-20818 (Segfault in Tracing JIT with object reference). (khasinski)

OpenSSL

  • Fix memory leaks when sk_X509_new_null() fails. (ndossche)
  • Fix crash when in openssl_x509_parse() when i2s_ASN1_INTEGER() fails. (ndossche)
  • Fix crash in openssl_x509_parse() when X509_NAME_oneline() fails. (ndossche)

Phar

  • Fixed bug GH-20882 (buildFromIterator breaks with missing base directory). (ndossche)

PGSQL

  • Fixed INSERT/UPDATE queries building with PQescapeIdentifier() and possible UB. (David Carlier)

Readline

  • Fixed bug GH-18139 (Memory leak when overriding some settings via readline_info()). (ndossche)

SPL

  • Fixed bug GH-20856 (heap-use-after-free in SplDoublyLinkedList iterator when modifying during iteration). (ndossche)

Standard

  • Fixed bug #74357 (lchown fails to change ownership of symlink with ZTS) (Jakub Zelenka)
  • Fixed bug GH-20843 (var_dump() crash with nested objects) (David Carlier)

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

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