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

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

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

PHP 8.4.8 的变化

PHP 8.4 的所有版本

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

Core

  • Fixed GH-18480 (array_splice with large values for offset/length arguments). (nielsdos/David Carlier)
  • Partially fixed GH-18572 (nested object comparisons leading to stack overflow). (David Carlier)
  • Fixed OSS-Fuzz #417078295. (nielsdos)
  • Fixed OSS-Fuzz #418106144. (nielsdos)

Curl

  • Fixed GH-18460 (curl_easy_setopt with CURLOPT_USERPWD/CURLOPT_USERNAME/ CURLOPT_PASSWORD set the Authorization header when set to NULL). (David Carlier)

Date

  • Fixed bug GH-18076 (Since PHP 8, the date_sun_info() function returns inaccurate sunrise and sunset times, but other calculated times are correct) (JiriJozif).
  • Fixed bug GH-18481 (date_sunrise with unexpected nan value for the offset). (nielsdos/David Carlier)

DOM

  • Backport lexbor/lexbor#274. (nielsdos, alexpeattie)

Intl

  • Fix various reference issues. (nielsdos)

LDAP

  • Fixed bug GH-18529 (ldap no longer respects TLS_CACERT from ldaprc in ldap_start_tls()). (Remi)

Opcache

  • Fixed bug GH-18417 (Windows SHM reattachment fails when increasing memory_consumption or jit_buffer_size). (nielsdos)
  • Fixed bug GH-18297 (Exception not handled when jit guard is triggered). (Arnaud)
  • Fixed bug GH-18408 (Snapshotted poly_func / poly_this may be spilled). (Arnaud)
  • Fixed bug GH-18567 (Preloading with internal class alias triggers assertion failure). (nielsdos)
  • Fixed bug GH-18534 (FPM exit code 70 with enabled opcache and hooked properties in traits). (nielsdos)
  • Fix leak of accel_globals->key. (nielsdos)

OpenSSL

  • Fix missing checks against php_set_blocking() in xp_ssl.c. (nielsdos)

SPL

  • Fixed bug GH-18421 (Integer overflow with large numbers in LimitIterator). (nielsdos)

Standard

  • Fixed bug GH-17403 (Potential deadlock when putenv fails). (nielsdos)
  • Fixed bug GH-18400 (http_build_query type error is inaccurate). (nielsdos)
  • Fixed bug GH-18509 (Dynamic calls to assert() ignore zend.assertions). (timwolla)

Windows

  • Fix leak+crash with sapi_windows_set_ctrl_handler(). (nielsdos)

Zip

  • Fixed bug GH-18431 (Registering ZIP progress callback twice doesn't work). (nielsdos)
  • Fixed bug GH-18438 (Handling of empty data and errors in ZipArchive::addPattern). (nielsdos)

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

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