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

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

PHP 8.4.11 于 2025年7月31日 发布。下面是它带来的全部变更,按每项变更影响的 PHP 部分分组列出。

PHP 8.4.11 的变化

PHP 8.4 的所有版本

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

Calendar

  • Fixed jewishtojd overflow on year argument. (David Carlier)

Core

  • Fixed bug GH-18833 (Use after free with weakmaps dependent on destruction order). (Daniil Gentili)
  • Fixed bug GH-18907 (Leak when creating cycle in hook). (ilutov)
  • Fix OSS-Fuzz #427814456. (nielsdos)
  • Fix OSS-Fuzz #428983568 and #428760800. (nielsdos)

Curl

  • Fix memory leaks when returning refcounted value from curl callback. (nielsdos)
  • Remove incorrect string release. (nielsdos)

DOM

  • Fixed bug GH-18979 (Dom\XMLDocument::createComment() triggers undefined behavior with null byte). (nielsdos)

LDAP

  • Fixed GH-18902 ldap_exop/ldap_exop_sync assert triggered on empty request OID. (David Carlier)

MbString

  • Fixed bug GH-18901 (integer overflow mb_split). (nielsdos)

Opcache

  • Fixed bug GH-18639 (Internal class aliases can break preloading + JIT). (nielsdos)
  • Fixed bug GH-18899 (JIT function crash when emitting undefined variable warning and opline is not set yet). (nielsdos)
  • Fixed bug GH-14082 (Segmentation fault on unknown address 0x600000000018 in ext/opcache/jit/zend_jit.c). (nielsdos)
  • Fixed bug GH-18898 (SEGV zend_jit_op_array_hot with property hooks and preloading). (nielsdos)

OpenSSL

  • Fixed bug #80770 (It is not possible to get client peer certificate with stream_socket_server). (Jakub Zelenka)

PCNTL

  • Fixed bug GH-18958 (Fatal error during shutdown after pcntl_rfork() or pcntl_forkx() with zend-max-execution-timers). (Arnaud)

Phar

  • Fix stream double free in phar. (nielsdos, dixyes)
  • Fix phar crash and file corruption with SplFileObject. (nielsdos)

SOAP

  • Fixed bug GH-18990, bug #81029, bug #47314 (SOAP HTTP socket not closing on object destruction). (nielsdos)
  • Fix memory leak when URL parsing fails in redirect. (Girgias)

SPL

  • Fixed bug GH-19094 (Attaching class with no Iterator implementation to MultipleIterator causes crash). (nielsdos)

Standard

  • Fix misleading errors in printf(). (nielsdos)
  • Fix RCN violations in array functions. (nielsdos)
  • Fixed GH-18976 pack() overflow with h/H format and INT_MAX repeater value. (David Carlier)

Streams

  • Fixed GH-13264 (fgets() and stream_get_line() do not return false on filter fatal error). (Jakub Zelenka)

Zip

  • Fix leak when path is too long in ZipArchive::extractTo(). (nielsdos)

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

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