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

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

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

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

PHP 8.4.10 的变化

PHP 8.4 的所有版本

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

BcMath

  • Fixed bug GH-18641 (Accessing a BcMath\Number property by ref crashes). (nielsdos)

Core

  • Fixed bugs GH-17711 and GH-18022 (Infinite recursion on deprecated attribute evaluation) and GH-18464 (Recursion protection for deprecation constants not released on bailout). (DanielEScherzer and ilutov)
  • Fixed GH-18695 (zend_ast_export() - float number is not preserved). (Oleg Efimov)
  • Fix handling of references in zval_try_get_long(). (nielsdos)
  • Do not delete main chunk in zend_gc. (danog, Arnaud)
  • Fix compile issues with zend_alloc and some non-default options. (nielsdos)

Curl

  • Fix memory leak when setting a list via curl_setopt fails. (nielsdos)

Date

  • Fix leaks with multiple calls to DatePeriod iterator current(). (nielsdos)

DOM

  • Fixed bug GH-18744 (classList works not correctly if copy HTMLElement by clone keyword). (nielsdos)

FPM

  • Fixed GH-18662 (fpm_get_status segfault). (txuna)

Hash

  • Fixed bug GH-14551 (PGO build fails with xxhash). (nielsdos)

Intl

  • Fix memory leak in intl_datetime_decompose() on failure. (nielsdos)
  • Fix memory leak in locale lookup on failure. (nielsdos)

Opcache

  • Fixed bug GH-18743 (Incompatibility in Inline TLS Assembly on Alpine 3.22). (nielsdos, Arnaud)

ODBC

  • Fix memory leak on php_odbc_fetch_hash() failure. (nielsdos)

OpenSSL

  • Fix memory leak of X509_STORE in php_openssl_setup_verify() on failure. (nielsdos)
  • Fixed bug #74796 (Requests through http proxy set peer name). (Jakub Zelenka)

PDO ODBC

  • Fix memory leak if WideCharToMultiByte() fails. (nielsdos)

PDO Sqlite

  • Fixed memory leak with Pdo_Sqlite::createCollation when the callback has an incorrect return type. (David Carlier)

Phar

  • Add missing filter cleanups on phar failure. (nielsdos)
  • Fixed bug GH-18642 (Signed integer overflow in ext/phar fseek). (nielsdos)

PHPDBG

  • Fix 'phpdbg --help' segfault on shutdown with USE_ZEND_ALLOC=0. (nielsdos)

PGSQL

  • Fix warning not being emitted when failure to cancel a query with pg_cancel_query(). (Girgias)

Random

  • Fix reference type confusion and leak in user random engine. (nielsdos, timwolla)

Readline

  • Fix memory leak when calloc() fails in php_readline_completion_cb(). (nielsdos)

SimpleXML

  • Fixed bug GH-18597 (Heap-buffer-overflow in zend_alloc.c when assigning string with UTF-8 bytes). (nielsdos)

Soap

  • Fix memory leaks in php_http.c when call_user_function() fails. (nielsdos)

Tidy

  • Fix memory leak in tidy output handler on error. (nielsdos)
  • Fix tidyOptIsReadonly deprecation, using tidyOptGetCategory. (David Carlier)

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

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