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

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

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

PHP 8.4.22 的变化

PHP 8.4 的所有版本

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

Date

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

Intl

  • Fix incorrect argument positions in out-of-bounds errors for IntlCalendar::set(), IntlCalendar::setDate(), IntlCalendar::setDateTime(), and IntlGregorianCalendar date/time construction. (Weilin Du)
  • Expose Spoofchecker restriction-level APIs on all supported ICU versions. (Weilin Du)
  • Fix SpoofChecker::setAllowedChars() and IntlDateFormatter::__construct() to report PHP constant names instead of ICU constant names in user-visible error messages. (Weilin Du)

MySQLnd

  • Fix persistent free of non-persistent connect_attr key (David Carlier).

Opcache

  • Fixed bug GH-21972 (Corrupted variable type when a typed by-value return contains a reference wrapper). (Weilin Du)
  • Fixed tracing JIT crash when a VM interrupt is handled during an observed user function call. (Levi Morrison)
  • Fixed bug GH-22004 (Assertion failure at ext/opcache/jit/zend_jit_trace.c). (Arnaud)

OpenSSL

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

Phar

  • Fixed bug GH-21986 (PharData::getContent() crash on infinite recursion with symlinks). (David Carlier)

SOAP

  • Fixed integer overflow when decoding SOAP array indexes. (Weilin Du)

SPL

  • Fix SplFixedArray::setSize leak when destructor grows during clear. (David Carlier)
  • Fixed bug GH-21933 (use after free of self-freeing MultipleIterator children). (David Carlier)

Standard

  • Fixed bug GH-21689 (version_compare() incorrectly handles versions ending with a dot). (timwolla)
  • Fixed ip2long() leading zeros handling inconsistency on AIX. (ayappanec)

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

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