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

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

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

安全 此版本修复了安全问题。此后 PHP 8.4 又发布了更新的版本,如果您的网站运行在 PHP 8.4 上,请更新到包含这些修复的 PHP 8.4.27。

PHP 8.4.23 的变化

PHP 8.4 的所有版本

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

Core

  • Fixed bug GH-22280 (Incorrect compile error for goto to label preceding try/finally block). (Pratik Bhujel)
  • Fixed bug GH-22290 (AST pretty printing does not correctly handle strings containing NUL). (iliaal)

BCMath

  • Fixed issues with oversized allocations and signed overflow in bcround() and BcMath\Number::round(). (edorian)

Date

  • Fix incorrect recurrence check of DatePeriod::createFromISO8601String(). (ndossche)

DOM

  • Fix GH-22219 (Dom\XMLDocument::schemaValidate fails to resolve xs:QName with prefix from imported schema). (David Carlier)

Exif

  • Read correct value for single and double tags. (ndossche)

GD

  • Fixed bug GH-22121 (Double free in gdImageSetStyle() after overflow-triggered early return). (iliaal)
  • Fixed bug GH-19666 (imageconvolution() unexpected nan filter value). (David Carlier)
  • Fixed bug GH-19739 (imageellipse/imagefilledellipse overflow). (David Carlier)
  • Fixed bug GH-19730 (imageaffine overflow). (David Carlier)

Intl

  • Fix incorrect argument positions for uninitialized calendar arguments in IntlCalendar::equals(), ::before(), ::after(), and ::isEquivalentTo(), and for invalid start/end arguments in transliterator_transliterate(). (Weilin Du)
  • Fixed IntlTimeZone::getDisplayName() to synchronize object error state for invalid display types. (Weilin Du)
  • Fixed Spoofchecker restriction-level APIs to only be exposed with ICU 53 and later. (Graham Campbell)

mysqli

  • Fix stmt->query leak in mysqli_execute_query() validation errors. (David Carlier)

Opcache

  • Fixed bug GH-20469 (Unsafe inheritance cache replay with reentrant autoloading). (Levi Morrison)
  • Fixed bug GH-22158 (Tracing JIT dispatches the observer begin handler through the wrong run_time_cache slot on megamorphic calls). (ptondereau, iliaal)

OpenSSL

  • Fixed bug GH-22187 (Memory corruption (zend_mm_heap corrupted) in openssl_encrypt with AES-WRAP-PAD). (CVE-2026-14355) (David Carlier)

Phar

  • Fixed a bypass of the magic ".phar" directory protection in Phar::addEmptyDir() for paths starting with "/.phar", while allowing non-magic directory names that merely share the ".phar" prefix. (Weilin Du)
  • Fixed an integer underflow when parsing ZIP extra fields. (Weilin Du)

Reflection

  • Preserve class-name case in ReflectionClass::getProperty() error messages and autoloading. (jorgsowa)

Sqlite

  • Fix error checks for column retrieval. (ndossche)

Zlib

  • Fixed memory leak if deflate initialization fails and there is a dict. (ndossche)
  • Fixed memory leak in inflate_add(). (ndossche)

Zip

  • Fixed error-related memory leaks. (ndossche)

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

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